Skip to content

Commit

Permalink
fix: add permissions and remove rollouts from customResources
Browse files Browse the repository at this point in the history
  • Loading branch information
josmo committed Jan 20, 2024
1 parent e672c60 commit 6b8e065
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ kubernetes:
skipTLSVerify: true
serviceAccountToken: ${K8S_TOKEN}
customResources:
- group: 'argoproj.io'
apiVersion: 'v1alpha1'
plural: 'rollouts'
- group: 'argoproj.io'
apiVersion: 'v1alpha1'
plural: 'applications'
Expand Down
6 changes: 5 additions & 1 deletion gitops/base/pelostage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ rules:
- statefulsets
- limitranges
- daemonsets
- rollouts
- applications
- appprojects
- resourcequotas
verbs:
- get
- list
Expand Down Expand Up @@ -146,4 +150,4 @@ metadata:
name: backstage-sa
annotations:
kubernetes.io/service-account.name: backstage
type: kubernetes.io/service-account-token
type: kubernetes.io/service-account-token

0 comments on commit 6b8e065

Please sign in to comment.