Skip to content

Commit

Permalink
WIP: Add optional Hosted Zone ID parameter to ClusterIssuer template (#…
Browse files Browse the repository at this point in the history
…586)

* Add optional Hosted Zone ID parameter to ClusterIssuer template

* Update ClusterIssuer template in Cert-Manager operator
  • Loading branch information
jfilipcz authored Sep 14, 2022
1 parent 1347b80 commit 32de881
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cert-manager-configs/.openshift/cert-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ objects:
route53:
region: ${AWS_REGION}
accessKeyID: ${AWS_ACCESS_KEY_ID}
hostedZoneID: ${AWS_HOSTED_ZONE_ID}
secretAccessKeySecretRef:
name: "aws-secret-access-key-secret"
key: "aws-secret-access-key"
Expand All @@ -54,3 +55,5 @@ parameters:
required: true
- name: ACME_EMAIL
required: true
- name: AWS_HOSTED_ZONE_ID
required: false
3 changes: 3 additions & 0 deletions cert-manager-configs/templates/ClusterIssuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
route53:
region: {{ .Values.aws.region }}
accessKeyID: {{ .Values.aws.accessKeyId }}
{{- if .Values.aws.hostedZoneId }}
hostedZoneID: {{ .Values.aws.hostedZoneId }}
{{- end }}
secretAccessKeySecretRef:
name: "aws-secret-access-key-secret"
key: "aws-secret-access-key"
Expand Down

0 comments on commit 32de881

Please sign in to comment.