Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.