Skip to content

Commit

Permalink
Update role-service for gitops (#356)
Browse files Browse the repository at this point in the history
* pass in storage service to role service

* remove duplicate
  • Loading branch information
shaynafinocchiaro authored and atye committed Jun 21, 2024
1 parent 2998519 commit e765a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/csm-authorization/templates/proxy-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
image: {{ required "Must provide the opaKubeMgmt image." .Values.authorization.images.opaKubeMgmt }}
imagePullPolicy: IfNotPresent
args:
- "--policies={{ include "custom.namespace" . }}"
- "--policies={{ .Release.Namespace }}"
- "--enable-data"
volumes:
- name: config-volume
Expand Down
2 changes: 2 additions & 0 deletions charts/csm-authorization/templates/role-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
- name: role-service
image: {{ required "Must provide the role-service image." .Values.authorization.images.roleService }}
imagePullPolicy: Always
args:
- "--storage-service=storage-service.{{ .Release.Namespace }}.svc.cluster.local:50051"
ports:
- containerPort: 50051
name: grpc
Expand Down

0 comments on commit e765a8f

Please sign in to comment.