Skip to content

Commit

Permalink
Update cert-manager/plugin.yaml; applying RBAC rules addressing
Browse files Browse the repository at this point in the history
github issue loft-sh#42 opened by myself.

Applied `yamllint` updates to address syntax errors. Including
converting the array from `["bracketed format"]` to `- itemized per line` `
to eliminate `line length exceeds 80 characters` errors.
  • Loading branch information
jbarfield committed Jan 16, 2024
1 parent 418647a commit 960eaa8
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions cert-manager-plugin/plugin.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"]

0 comments on commit 960eaa8

Please sign in to comment.