Skip to content

Commit

Permalink
Mount entire Configmap rather than specifying each file
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
  • Loading branch information
ddelnano committed Sep 11, 2024
1 parent 0a44b36 commit c3e0fba
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions k8s/cloud/base/proxy_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,35 +79,7 @@ spec:
- name: certs
mountPath: /certs
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/nginx.conf.tmpl
subPath: nginx.conf.tmpl
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/pixie_vars.conf
subPath: pixie_vars.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/pixie_api.conf
subPath: pixie_api.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/pixie_cache.conf
subPath: pixie_cache.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/pixie_compression.conf
subPath: pixie_compression.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/pixie_filter.conf
subPath: pixie_filter.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/pixie_health_check.conf
subPath: pixie_health_check.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/pixie_server_defaults.conf
subPath: pixie_server_defaults.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/headers_common.conf
subPath: headers_common.conf
- name: nginx-config
mountPath: /usr/local/openresty/nginx/conf/nginx_vars.conf
subPath: nginx_vars.conf
mountPath: /usr/local/openresty/nginx/conf
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down

0 comments on commit c3e0fba

Please sign in to comment.