diff --git a/charts/crowdsec-traefik-bouncer/Chart.yaml b/charts/crowdsec-traefik-bouncer/Chart.yaml index b245fd9..8a4bba4 100644 --- a/charts/crowdsec-traefik-bouncer/Chart.yaml +++ b/charts/crowdsec-traefik-bouncer/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.2 +version: 0.1.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.3.5" +appVersion: "0.5.0" diff --git a/charts/crowdsec-traefik-bouncer/templates/deployment.yaml b/charts/crowdsec-traefik-bouncer/templates/deployment.yaml index acd6cbc..866342e 100644 --- a/charts/crowdsec-traefik-bouncer/templates/deployment.yaml +++ b/charts/crowdsec-traefik-bouncer/templates/deployment.yaml @@ -42,6 +42,10 @@ spec: - name: GIN_MODE value: {{ .Values.bouncer.crowdsec_bouncer_gin_mode | quote }} {{ end }} + {{- with .Values.bouncer.env }} + {{- toYaml . | nindent 12 }} + {{- end }} + ports: - name: http containerPort: 8080 diff --git a/charts/crowdsec-traefik-bouncer/values.yaml b/charts/crowdsec-traefik-bouncer/values.yaml index e836eda..0f9e584 100644 --- a/charts/crowdsec-traefik-bouncer/values.yaml +++ b/charts/crowdsec-traefik-bouncer/values.yaml @@ -8,8 +8,10 @@ bouncer: crowdsec_bouncer_api_key: "" # -- crowdsec lapi host (ie: crowdsec-service.crowdsec.svc.cluster.local:8080) crowdsec_agent_host: "" - # crowdsec_bouncer_gin_mode sets the mode of the app + # -- crowdsec_bouncer_gin_mode sets the mode of the app crowdsec_bouncer_gin_mode: "debug" + # -- environment variables + env: [] replicaCount: 1