@@ -6,9 +6,11 @@ metadata:
6
6
name : nginx-gateway
7
7
namespace : nginx-gateway
8
8
labels :
9
+ helm.sh/chart : nginx-gateway-fabric-1.6.1
9
10
app.kubernetes.io/name : nginx-gateway
10
11
app.kubernetes.io/instance : nginx-gateway
11
12
app.kubernetes.io/version : " edge"
13
+ app.kubernetes.io/managed-by : Helm
12
14
spec :
13
15
replicas : 1
14
16
selector :
@@ -23,13 +25,16 @@ spec:
23
25
spec :
24
26
initContainers :
25
27
- name : init
26
- image : ghcr.io/ nginx/nginx -gateway-fabric:edge
27
- imagePullPolicy : Always
28
+ image : nginx-gateway-fabric:sa.choudhary
29
+ imagePullPolicy : Never
28
30
command :
29
31
- /usr/bin/gateway
30
32
- initialize
31
33
- --source
32
34
- /includes/main.conf
35
+ - --source
36
+ - /includes/mgmt.conf
37
+ - --nginx-plus
33
38
- --destination
34
39
- /etc/nginx/main-includes
35
40
env :
60
65
- --gatewayclass=nginx
61
66
- --config=nginx-gateway-config
62
67
- --service=nginx-gateway
68
+ - --nginx-plus
69
+ - --usage-report-secret=nplus-license
70
+ - --usage-report-endpoint=product.connect.nginxlab.net
63
71
- --metrics-disable
64
72
- --health-port=8081
65
73
- --leader-election-lock-name=nginx-gateway-leader-election
81
89
valueFrom :
82
90
fieldRef :
83
91
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
86
94
name : nginx-gateway
87
95
ports :
88
96
- name : health
@@ -118,8 +126,8 @@ spec:
118
126
mountPath : /var/run/nginx
119
127
- name : nginx-includes
120
128
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
123
131
name : nginx
124
132
ports :
125
133
- containerPort : 80
@@ -152,6 +160,11 @@ spec:
152
160
mountPath : /var/cache/nginx
153
161
- name : nginx-includes
154
162
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
155
168
terminationGracePeriodSeconds : 30
156
169
serviceAccountName : nginx-gateway
157
170
shareProcessNamespace : true
@@ -176,3 +189,8 @@ spec:
176
189
- name : nginx-includes-bootstrap
177
190
configMap :
178
191
name : nginx-includes-bootstrap
192
+ - name : nginx-lib
193
+ emptyDir : {}
194
+ - name : nginx-plus-license
195
+ secret :
196
+ secretName : nplus-license
0 commit comments