Skip to content

Commit

Permalink
Merge pull request hashicorp#454 from hashicorp/restrict-server-acl-i…
Browse files Browse the repository at this point in the history
…nit-role

Restrict permissions for the server-acl-init job
  • Loading branch information
ishustava authored May 12, 2020
2 parents eaf1898 + 2090d89 commit da373a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions scripts/generate-helm-config-for-hcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ client:
join: ${retry_join}
connectInject:
enabled: true
syncCatalog:
enabled: true
EOF

echo
Expand Down
10 changes: 0 additions & 10 deletions templates/server-acl-init-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,12 @@ metadata:
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
rules:
- apiGroups: [""]
resources:
- pods
verbs:
- list
- apiGroups: [""]
resources:
- secrets
verbs:
- create
- get
- apiGroups: ["apps"]
resources:
- statefulsets
verbs:
- get
{{- if .Values.connectInject.enabled }}
- apiGroups: [""]
resources:
Expand Down

0 comments on commit da373a3

Please sign in to comment.