Skip to content

Commit

Permalink
Revert "Update clusterrole.yaml"
Browse files Browse the repository at this point in the history
This reverts commit 82a864f.
  • Loading branch information
mankrit-singh committed Jan 8, 2024
1 parent 82a864f commit e55b576
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/gitops-agent/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.agent.name }}
name: .Values.agent.name
labels:
{{- include "harness.labels" (dict "context" . "component" $argo.server.name "name" .Values.agent.name) | nindent 4 }}
rules:
Expand Down Expand Up @@ -46,7 +46,6 @@ rules:
resources:
- applications
- applicationsets
- appprojects
verbs:
- get
- list
Expand Down

0 comments on commit e55b576

Please sign in to comment.