Skip to content

Commit

Permalink
Merge pull request #39 from syseleven/os-project-name
Browse files Browse the repository at this point in the history
Make it possible to configure OS_PROJECT_NAME in helm chart
  • Loading branch information
phiphi282 authored Nov 5, 2020
2 parents 3ebebaa + 9725123 commit f6501c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/designate-certmanager-webhook/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "0.2.8"
appVersion: "0.2.9"
description: ACME webhook Implementation for OpenStack Designate
name: designate-certmanager-webhook
version: "0.2.9"
version: "0.2.10"
4 changes: 4 additions & 0 deletions helm/designate-certmanager-webhook/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ data:
{{- end }}
{{- if .Values.openstack.project_id }}
OS_PROJECT_ID: {{ .Values.openstack.project_id | b64enc | quote }}
{{- else if .Values.openstack.project_name }}
OS_PROJECT_NAME: {{ .Values.openstack.project_name | b64enc | quote }}
{{- else }}
{{- fail "project_id or project_name is needed!" }}
{{- end }}
{{- if .Values.openstack.region_name }}
OS_REGION_NAME: {{ .Values.openstack.region_name | b64enc | quote }}
Expand Down
1 change: 1 addition & 0 deletions helm/designate-certmanager-webhook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ openstack:
username: ""
password: ""
project_id: ""
project_name: "" # Use project_id OR project_name
region_name: ""
auth_url: ""
domain_name: ""
Expand Down

0 comments on commit f6501c4

Please sign in to comment.