-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from projectsyn/fix/finalizers
Fix finalizer permission issues for rbac-manager
- Loading branch information
Showing
76 changed files
with
143 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
tests/golden/defaults-with-provider/crossplane/apps/crossplane.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/defaults-with-provider/crossplane/crossplane/00_namespace.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ts-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
...-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...lts-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml
100755 → 100644
Empty file.
Empty file modified
0
...der/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ssplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...plane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml
100755 → 100644
Empty file.
Empty file modified
0
.../crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml
100755 → 100644
Empty file.
Empty file modified
0
...efaults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml
100755 → 100644
Empty file.
Empty file modified
0
...faults-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml
100755 → 100644
Empty file.
Empty file modified
0
...with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml
100755 → 100644
Empty file.
14 changes: 14 additions & 0 deletions
14
tests/golden/defaults-with-provider/crossplane/crossplane/01_rbac_finalizer_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
rules: | ||
- apiGroups: | ||
- pkg.crossplane.io | ||
resources: | ||
- '*/finalizers' | ||
verbs: | ||
- '*' |
15 changes: 15 additions & 0 deletions
15
...en/defaults-with-provider/crossplane/crossplane/01_rbac_finalizer_clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: crossplane-rbac-manager:finalizer | ||
subjects: | ||
- kind: ServiceAccount | ||
name: rbac-manager | ||
namespace: syn-crossplane |
Empty file modified
0
tests/golden/defaults-with-provider/crossplane/crossplane/02_upgrade/00_upgrade.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/defaults-with-provider/crossplane/crossplane/10_providers.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/defaults-with-provider/crossplane/crossplane/20_monitoring.yaml
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file modified
0
.../golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
.../defaults/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...s/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml
100755 → 100644
Empty file.
Empty file modified
0
...lts/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ssplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ults/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...plane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml
100755 → 100644
Empty file.
Empty file modified
0
.../crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml
100755 → 100644
Empty file.
Empty file modified
0
...lden/defaults/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml
100755 → 100644
Empty file.
14 changes: 14 additions & 0 deletions
14
tests/golden/defaults/crossplane/crossplane/01_rbac_finalizer_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
rules: | ||
- apiGroups: | ||
- pkg.crossplane.io | ||
resources: | ||
- '*/finalizers' | ||
verbs: | ||
- '*' |
15 changes: 15 additions & 0 deletions
15
tests/golden/defaults/crossplane/crossplane/01_rbac_finalizer_clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: crossplane-rbac-manager:finalizer | ||
subjects: | ||
- kind: ServiceAccount | ||
name: rbac-manager | ||
namespace: syn-crossplane |
Empty file modified
0
tests/golden/defaults/crossplane/crossplane/02_upgrade/00_upgrade.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/defaults/crossplane/crossplane/20_monitoring.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4-with-provider/crossplane/apps/crossplane.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4-with-provider/crossplane/crossplane/00_namespace.yaml
100755 → 100644
Empty file.
Empty file modified
0
...t4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
...-provider/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ft4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml
100755 → 100644
Empty file.
Empty file modified
0
...der/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ssplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ider/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...plane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml
100755 → 100644
Empty file.
Empty file modified
0
.../crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml
100755 → 100644
Empty file.
Empty file modified
0
...nshift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml
100755 → 100644
Empty file.
Empty file modified
0
...shift4-with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml
100755 → 100644
Empty file.
Empty file modified
0
...with-provider/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml
100755 → 100644
Empty file.
14 changes: 14 additions & 0 deletions
14
.../golden/openshift4-with-provider/crossplane/crossplane/01_rbac_finalizer_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
rules: | ||
- apiGroups: | ||
- pkg.crossplane.io | ||
resources: | ||
- '*/finalizers' | ||
verbs: | ||
- '*' |
15 changes: 15 additions & 0 deletions
15
.../openshift4-with-provider/crossplane/crossplane/01_rbac_finalizer_clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: crossplane-rbac-manager:finalizer | ||
subjects: | ||
- kind: ServiceAccount | ||
name: rbac-manager | ||
namespace: syn-crossplane |
Empty file modified
0
tests/golden/openshift4-with-provider/crossplane/crossplane/02_upgrade/00_upgrade.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4-with-provider/crossplane/crossplane/10_providers.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4-with-provider/crossplane/crossplane/20_monitoring.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4-with-provider/crossplane/crossplane/30_controller_configs.yaml
100755 → 100644
Empty file.
Empty file.
Empty file modified
0
tests/golden/openshift4/crossplane/crossplane/00_namespace.yaml
100755 → 100644
Empty file.
Empty file modified
0
...olden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
...penshift4/crossplane/crossplane/01_helmchart/crossplane/templates/clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ossplane/01_helmchart/crossplane/templates/rbac-manager-allowed-provider-permissions.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ft4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrole.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ssplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-clusterrolebinding.yaml
100755 → 100644
Empty file.
Empty file modified
0
...ift4/crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-deployment.yaml
100755 → 100644
Empty file.
Empty file modified
0
...plane/crossplane/01_helmchart/crossplane/templates/rbac-manager-managed-clusterroles.yaml
100755 → 100644
Empty file.
Empty file modified
0
.../crossplane/crossplane/01_helmchart/crossplane/templates/rbac-manager-serviceaccount.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/secret.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/service.yaml
100755 → 100644
Empty file.
Empty file modified
0
...en/openshift4/crossplane/crossplane/01_helmchart/crossplane/templates/serviceaccount.yaml
100755 → 100644
Empty file.
14 changes: 14 additions & 0 deletions
14
tests/golden/openshift4/crossplane/crossplane/01_rbac_finalizer_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
rules: | ||
- apiGroups: | ||
- pkg.crossplane.io | ||
resources: | ||
- '*/finalizers' | ||
verbs: | ||
- '*' |
15 changes: 15 additions & 0 deletions
15
tests/golden/openshift4/crossplane/crossplane/01_rbac_finalizer_clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
annotations: {} | ||
labels: | ||
name: crossplane-rbac-manager-finalizer | ||
name: crossplane-rbac-manager:finalizer | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: crossplane-rbac-manager:finalizer | ||
subjects: | ||
- kind: ServiceAccount | ||
name: rbac-manager | ||
namespace: syn-crossplane |
Empty file modified
0
tests/golden/openshift4/crossplane/crossplane/02_upgrade/00_upgrade.yaml
100755 → 100644
Empty file.
Empty file modified
0
tests/golden/openshift4/crossplane/crossplane/20_monitoring.yaml
100755 → 100644
Empty file.