diff --git a/charts/well-known/templates/configmap.yaml b/charts/well-known/templates/configmap.yaml index fa9651d..dc4f7c4 100644 --- a/charts/well-known/templates/configmap.yaml +++ b/charts/well-known/templates/configmap.yaml @@ -10,6 +10,10 @@ data: server { listen 8080; server_name _; + + {{- if not .Values.webserver.config.accessLogEnabled }} + access_log off; + {{- end }} location /.well-known/ { default_type application/json; diff --git a/charts/well-known/values.yaml b/charts/well-known/values.yaml index 59035e3..9c19fda 100644 --- a/charts/well-known/values.yaml +++ b/charts/well-known/values.yaml @@ -30,6 +30,8 @@ webserver: requests: cpu: 10m memory: 10Mi + config: + accessLogEnabled: false imagePullSecrets: []