diff --git a/cert-manager-plugin/plugin.yaml b/cert-manager-plugin/plugin.yaml index 0473223a..787b8b46 100644 --- a/cert-manager-plugin/plugin.yaml +++ b/cert-manager-plugin/plugin.yaml @@ -1,5 +1,7 @@ -# Plugin Definition below. This is essentially a valid helm values file that will be merged -# with the other vcluster values during vcluster create or helm install. +--- +# Plugin Definition below. This is essentially a valid helm values file that +# will be merged # with the other vcluster values during vcluster create or +# helm install. plugin: cert-manager-plugin: image: ghcr.io/loft-sh/vcluster-plugins/cert-manager-plugin:0.3.0 @@ -9,9 +11,22 @@ plugin: extraRules: - apiGroups: ["cert-manager.io"] resources: ["issuers", "certificates"] - verbs: ["create", "delete", "patch", "update", "get", "list", "watch"] + verbs: + - "create" + - "delete" + - "patch" + - "update" + - "get" + - "list" + - "watch" clusterRole: extraRules: - apiGroups: ["apiextensions.k8s.io"] resources: ["customresourcedefinitions"] verbs: ["get", "list", "watch"] + - apiGroups: ["cert-manager.io"] + resources: ["certificates", "issuers"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["secrets"] + verbs: ["get", "list", "watch"]