Skip to content

Commit

Permalink
fix: Fix access to PDNS API key secrets in other namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
zachomedia committed Dec 21, 2021
1 parent 2b018ee commit 34e6084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/cert-manager-webhook-pdns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: cert-manager-webhook-pdns
version: 1.0.0
version: 1.1.0
description: Cert Manager Webhook for PowerDNS.
type: application
home: https://github.com/zachomedia/cert-manager-webhook-pdns
Expand Down
6 changes: 3 additions & 3 deletions deploy/cert-manager-webhook-pdns/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
# apiserver's requestheader-ca-certificate.
# This ConfigMap is automatically created by the Kubernetes apiserver.
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
kind: ClusterRoleBinding
metadata:
name: {{ include "cert-manager-webhook-pdns.fullname" . }}
labels:
Expand All @@ -22,7 +22,7 @@ metadata:
heritage: {{ .Release.Service }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
kind: ClusterRole
name: {{ include "cert-manager-webhook-pdns.fullname" . }}
subjects:
- apiGroup: ""
Expand All @@ -32,7 +32,7 @@ subjects:
---
# Grant cert-manager permission to validate using our apiserver
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
kind: ClusterRole
metadata:
name: {{ include "cert-manager-webhook-pdns.fullname" . }}
labels:
Expand Down

0 comments on commit 34e6084

Please sign in to comment.