Skip to content

Instantly share code, notes, and snippets.

@c-success
Last active January 6, 2020 09:11
Show Gist options
  • Save c-success/15174b576ab0dbb78808158be7dfafb6 to your computer and use it in GitHub Desktop.
Save c-success/15174b576ab0dbb78808158be7dfafb6 to your computer and use it in GitHub Desktop.
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