fix
This commit is contained in:
@@ -16,14 +16,23 @@ spec:
|
||||
app.kubernetes.io/name: nginx-external
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx-ingress
|
||||
image: registry.k8s.io/ingress-nginx/controller:v1.7.0
|
||||
args:
|
||||
- name: nginx-ingress
|
||||
image: registry.k8s.io/ingress-nginx/controller:v1.7.0
|
||||
args:
|
||||
- /nginx-ingress-controller
|
||||
- --ingress-class=external
|
||||
- --configmap=$(POD_NAMESPACE)/nginx-configuration
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
- name: https
|
||||
containerPort: 443
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: POD_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
- name: https
|
||||
containerPort: 443
|
||||
Reference in New Issue
Block a user