Skip to content

Commit

Permalink
add env vars to traefik bouncer + update image and bump version (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
he2ss authored Feb 15, 2024
1 parent ed787d2 commit 5478451
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/crowdsec-traefik-bouncer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 4 additions & 0 deletions charts/crowdsec-traefik-bouncer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion charts/crowdsec-traefik-bouncer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5478451

Please sign in to comment.