@@ -182,6 +182,12 @@ apisix:
182
182
persistence :
183
183
# -- should it be enabled
184
184
enabled : false
185
+ # -- configuration in regard to the apisix dashboard
186
+ dashboard :
187
+ # -- should it be enabled
188
+ enabled : true
189
+ # -- resource preset to have sufficient memory
190
+ resourcesPreset : small
185
191
# -- configuration in regard to the apisix dataplane
186
192
dataPlane :
187
193
# -- resource preset to have sufficient memory
@@ -194,60 +200,54 @@ apisix:
194
200
config_provider : yaml
195
201
apisix :
196
202
extra_lua_path : /extra/apisix/plugins/?.lua
197
- # -- configuration in regard to the apisix dashboard
198
- dashboard :
199
- # -- should it be enabled
200
- enabled : true
201
- # -- resource preset to have sufficient memory
202
- resourcesPreset : small
203
- # -- extra volumes
204
- # we need `routes` to declaratively configure the routes
205
- # and the config for the opa sidecar
206
- extraVolumes :
207
- - name : routes
208
- configMap :
209
- name : apisix-routes
210
- - name : opa-config
211
- configMap :
212
- name : opa-config
213
- - name : opa-lua
214
- configMap :
215
- name : opa-lua
216
- # -- extra volumes to be mounted
217
- extraVolumeMounts :
218
- - name : routes
219
- mountPath : /usr/local/apisix/conf/apisix.yaml
220
- subPath : apisix.yaml
221
- - name : opa-lua
222
- mountPath : /usr/local/apisix/apisix/plugins/opa/helper.lua
223
- subPath : helper.lua
224
- - name : opa-lua
225
- mountPath : /usr/local/apisix/apisix/plugins/opa.lua
226
- subPath : opa.lua
227
- # -- sidecars to be deployed for apisix
228
- sidecars :
229
- # -- we want to deploy the open-policy-agent as a pdp
230
- - name : open-policy-agent
231
- image : openpolicyagent/opa:0.64.1
232
- imagePullPolicy : IfNotPresent
233
- ports :
234
- - name : http
235
- containerPort : 8181
236
- protocol : TCP
237
- # opa should be started to listen at 8181 and get its config from the mounted config yaml
238
- args :
239
- - " run"
240
- - " --ignore=.*" # exclude hidden dirs created by Kubernetes
241
- - " --server"
242
- - " -l"
243
- - " debug"
244
- - " -c"
245
- - " /config/opa.yaml"
246
- - " --addr"
247
- - " 0.0.0.0:8181"
248
- volumeMounts :
249
- - name : opa-config
250
- mountPath : /config
203
+ # -- extra volumes
204
+ # we need `routes` to declaratively configure the routes
205
+ # and the config for the opa sidecar
206
+ extraVolumes :
207
+ - name : routes
208
+ configMap :
209
+ name : apisix-routes
210
+ - name : opa-config
211
+ configMap :
212
+ name : opa-config
213
+ - name : opa-lua
214
+ configMap :
215
+ name : opa-lua
216
+ # -- extra volumes to be mounted
217
+ extraVolumeMounts :
218
+ - name : routes
219
+ mountPath : /usr/local/apisix/conf/apisix.yaml
220
+ subPath : apisix.yaml
221
+ - name : opa-lua
222
+ mountPath : /usr/local/apisix/apisix/plugins/opa/helper.lua
223
+ subPath : helper.lua
224
+ - name : opa-lua
225
+ mountPath : /usr/local/apisix/apisix/plugins/opa.lua
226
+ subPath : opa.lua
227
+ # -- sidecars to be deployed for apisix
228
+ sidecars :
229
+ # -- we want to deploy the open-policy-agent as a pdp
230
+ - name : open-policy-agent
231
+ image : openpolicyagent/opa:0.64.1
232
+ imagePullPolicy : IfNotPresent
233
+ ports :
234
+ - name : http
235
+ containerPort : 8181
236
+ protocol : TCP
237
+ # opa should be started to listen at 8181 and get its config from the mounted config yaml
238
+ args :
239
+ - " run"
240
+ - " --ignore=.*" # exclude hidden dirs created by Kubernetes
241
+ - " --server"
242
+ - " -l"
243
+ - " debug"
244
+ - " -c"
245
+ - " /config/opa.yaml"
246
+ - " --addr"
247
+ - " 0.0.0.0:8181"
248
+ volumeMounts :
249
+ - name : opa-config
250
+ mountPath : /config
251
251
# -- configuration of a catchAll-route(e.g. /*)
252
252
catchAllRoute :
253
253
# -- should it be enabled
0 commit comments