penguin/webhook-freedns

freedns webhook for cert-manager

commit f5567134973a91de02a0882d21ff3035bf6b717b

authorJohannes Aubart <johannes.aubart@sap.com>
date2019-05-07T14:40:57Z
subjectfix clusterrolebinding
commit f5567134973a91de02a0882d21ff3035bf6b717b
Author: Johannes Aubart <johannes.aubart@sap.com>
Date:   2019-05-07T14:40:57Z

    fix clusterrolebinding
    
    Signed-off-by: Johannes Aubart <johannes.aubart@sap.com>
---
 deploy/example-webhook/templates/rbac.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy/example-webhook/templates/rbac.yaml b/deploy/example-webhook/templates/rbac.yaml
index 3e51ef0..efec523 100644
--- a/deploy/example-webhook/templates/rbac.yaml
+++ b/deploy/example-webhook/templates/rbac.yaml
@@ -82,7 +82,7 @@ metadata:
 roleRef:
   apiGroup: rbac.authorization.k8s.io
   kind: ClusterRole
-  name: cert-manager:domain-solver
+  name: {{ include "example-webhook.fullname" . }}:domain-solver
 subjects:
   - apiGroup: ""
     kind: ServiceAccount