Skip to content

Commit

Permalink
fix: remove rolebinding for missing role (argoproj#7510)
Browse files Browse the repository at this point in the history
Signed-off-by: Shoubhik Bose <shbose@redhat.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
2 people authored and xiaowu.zhu committed Aug 9, 2023
1 parent c5cd2da commit 33c3c6d
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 65 deletions.
15 changes: 0 additions & 15 deletions manifests/base/redis/argocd-redis-rolebinding.yaml

This file was deleted.

1 change: 0 additions & 1 deletion manifests/base/redis/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ kind: Kustomization

resources:
- argocd-redis-deployment.yaml
- argocd-redis-rolebinding.yaml
- argocd-redis-sa.yaml
- argocd-redis-service.yaml
- argocd-redis-network-policy.yaml
16 changes: 0 additions & 16 deletions manifests/core-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16487,22 +16487,6 @@ subjects:
name: argocd-applicationset-controller
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: redis
app.kubernetes.io/name: argocd-redis
app.kubernetes.io/part-of: argocd
name: argocd-redis
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argocd-redis
subjects:
- kind: ServiceAccount
name: argocd-redis
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
Expand Down
16 changes: 0 additions & 16 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16694,22 +16694,6 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: redis
app.kubernetes.io/name: argocd-redis
app.kubernetes.io/part-of: argocd
name: argocd-redis
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argocd-redis
subjects:
- kind: ServiceAccount
name: argocd-redis
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: server
Expand Down
16 changes: 0 additions & 16 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,22 +341,6 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: redis
app.kubernetes.io/name: argocd-redis
app.kubernetes.io/part-of: argocd
name: argocd-redis
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argocd-redis
subjects:
- kind: ServiceAccount
name: argocd-redis
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: server
Expand Down
2 changes: 1 addition & 1 deletion reposerver/repository/repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func TestGenerateYamlManifestInDir(t *testing.T) {
}

// update this value if we add/remove manifests
const countOfManifests = 49
const countOfManifests = 48

res1, err := service.GenerateManifest(context.Background(), &q)

Expand Down

0 comments on commit 33c3c6d

Please sign in to comment.