Last active
January 6, 2020 09:11
-
-
Save c-success/15174b576ab0dbb78808158be7dfafb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hc-ingress-controller | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: hc-ingress-controller | |
template: | |
metadata: | |
labels: | |
app: hc-ingress-controller | |
spec: | |
containers: | |
- name: hc-ingress-controller | |
image: a10networks/lightning-ingress-controller:ICL-2.0.9 | |
imagePullPolicy: Always | |
args: | |
- --ingress-class=ladc | |
- --use-ingress-class-only=true | |
- --v=2 | |
env: | |
- name: POD_NAMESPACE | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.namespace | |
- name: HARMONY_CONTROLLER_URL | |
value: <Harmony Controller IP address:8443> | |
- name: USERNAME_PASSWORD_SECRETNAME | |
value: secret <Name of the Kubernetes secret> | |
- name: PROVIDER | |
value: root | |
- name: TENANT | |
value: <Tenant name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment