Skip to content

Commit

Permalink
add kafka auth to helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Feb 23, 2023
1 parent c34692f commit a32fce1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/hub-orgs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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.3.1
version: 0.3.2

# 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
Expand Down
1 change: 1 addition & 0 deletions charts/hub-orgs/templates/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ data:
ORY_BASE_URL: {{ .oryBaseUrl }}
PORT: {{ .port | quote }}
KAFKA_BROKERS: {{ required "must set kafka brokers" .kafkaBrokers | quote }}
KAFKA_USERNAME: {{ .entries.kafkaUsername | quote }}
KAFKA_SSL: {{ required "must set kafka ssl" .kafkaSsl | quote }}
SVIX_BASE_URL: {{ required "must set svix base url" .svixBaseUrl | quote }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/hub-orgs/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ data:
SVIX_AUTH_TOKEN: {{ .entries.svixAuthToken | b64enc }}
DATABASE_URL: {{ .entries.databaseUrl | b64enc }}
ORY_AUTH_TOKEN: {{ .entries.oryAuthToken | b64enc }}
KAFKA_PASSWORD: {{ .entries.kafkaPassword | b64enc }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/hub-orgs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,12 @@ secrets:
oryAuthToken: ""
databaseUrl: ""
svixAuthToken: ""
kafkaPassword: ""

environment:
port: "80"
oryBaseUrl: "http://hydra-admin"
kafkaBrokers:
kafkaUsername: ""
kafkaSsl: false
svixBaseUrl:

0 comments on commit a32fce1

Please sign in to comment.