@@ -6,9 +6,11 @@ metadata:
66 name : nginx-gateway
77 namespace : nginx-gateway
88 labels :
9+ helm.sh/chart : nginx-gateway-fabric-1.6.1
910 app.kubernetes.io/name : nginx-gateway
1011 app.kubernetes.io/instance : nginx-gateway
1112 app.kubernetes.io/version : " edge"
13+ app.kubernetes.io/managed-by : Helm
1214spec :
1315 replicas : 1
1416 selector :
@@ -23,13 +25,16 @@ spec:
2325 spec :
2426 initContainers :
2527 - name : init
26- image : ghcr.io/ nginx/nginx -gateway-fabric:edge
27- imagePullPolicy : Always
28+ image : nginx-gateway-fabric:sa.choudhary
29+ imagePullPolicy : Never
2830 command :
2931 - /usr/bin/gateway
3032 - initialize
3133 - --source
3234 - /includes/main.conf
35+ - --source
36+ - /includes/mgmt.conf
37+ - --nginx-plus
3338 - --destination
3439 - /etc/nginx/main-includes
3540 env :
6065 - --gatewayclass=nginx
6166 - --config=nginx-gateway-config
6267 - --service=nginx-gateway
68+ - --nginx-plus
69+ - --usage-report-secret=nplus-license
70+ - --usage-report-endpoint=product.connect.nginxlab.net
6371 - --metrics-disable
6472 - --health-port=8081
6573 - --leader-election-lock-name=nginx-gateway-leader-election
8189 valueFrom :
8290 fieldRef :
8391 fieldPath : metadata.uid
84- image : ghcr.io/ nginx/nginx -gateway-fabric:edge
85- imagePullPolicy : Always
92+ image : nginx-gateway-fabric:sa.choudhary
93+ imagePullPolicy : Never
8694 name : nginx-gateway
8795 ports :
8896 - name : health
@@ -118,8 +126,8 @@ spec:
118126 mountPath : /var/run/nginx
119127 - name : nginx-includes
120128 mountPath : /etc/nginx/includes
121- - image : ghcr.io/ nginx/nginx -gateway-fabric/nginx:edge
122- imagePullPolicy : Always
129+ - image : nginx-gateway-fabric/nginx-plus:sa.choudhary
130+ imagePullPolicy : Never
123131 name : nginx
124132 ports :
125133 - containerPort : 80
@@ -152,6 +160,11 @@ spec:
152160 mountPath : /var/cache/nginx
153161 - name : nginx-includes
154162 mountPath : /etc/nginx/includes
163+ - name : nginx-lib
164+ mountPath : /var/lib/nginx/state
165+ - name : nginx-plus-license
166+ mountPath : /etc/nginx/license.jwt
167+ subPath : license.jwt
155168 terminationGracePeriodSeconds : 30
156169 serviceAccountName : nginx-gateway
157170 shareProcessNamespace : true
@@ -176,3 +189,8 @@ spec:
176189 - name : nginx-includes-bootstrap
177190 configMap :
178191 name : nginx-includes-bootstrap
192+ - name : nginx-lib
193+ emptyDir : {}
194+ - name : nginx-plus-license
195+ secret :
196+ secretName : nplus-license
0 commit comments