Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RBAC patch #53

Merged
merged 4 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/docreader/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: v2
name: docreader
home: https://api.regulaforensics.com/
version: 1.3.2
version: 1.3.3
appVersion: nightly
description: Fast and accurate data extraction from identity documents. On-premise and cloud integration
icon: https://secure.gravatar.com/avatar/71a5efd69d82e444129ad18f51224bbb.jpg
Expand Down
4 changes: 4 additions & 0 deletions charts/docreader/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ roleRef:
{{- end }}
subjects:
- kind: ServiceAccount
{{- if .Values.serviceAccount.create }}
name: {{ include "docreader.serviceAccount" . }}
{{- else }}
name: default
{{- end }}
{{- end }}
10 changes: 6 additions & 4 deletions charts/docreader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,13 @@ rbac:
create: false
annotations: {}
# Use an existing Role
# useExistingRole: name-of-some-role
# useExistingRole: YourExistingRoleName
extraRoleRules: []
# - apiGroups: []
# resources: []
# verbs: []
# Uncomment the lines below if you are going to use RBAC without pre-existing Role
# Also you can add your rules to the ones given below
# - apiGroups: [""]
# resources: ["namespaces", "serviceaccounts"]
# verbs: ["get"]

serviceMonitor:
# Set this to `true` to create ServiceMonitor for Prometheus operator
Expand Down
2 changes: 1 addition & 1 deletion charts/faceapi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: v2
name: faceapi
home: https://faceapi.regulaforensics.com/
version: 1.5.3
version: 1.5.4
appVersion: nightly
description: Face Recognition Service. On-premise and cloud integration
icon: https://secure.gravatar.com/avatar/71a5efd69d82e444129ad18f51224bbb.jpg
Expand Down
4 changes: 4 additions & 0 deletions charts/faceapi/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ roleRef:
{{- end }}
subjects:
- kind: ServiceAccount
{{- if .Values.serviceAccount.create }}
name: {{ include "faceapi.serviceAccount" . }}
{{- else }}
name: default
{{- end }}
{{- end }}
10 changes: 6 additions & 4 deletions charts/faceapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,13 @@ rbac:
create: false
annotations: {}
# Use an existing Role
# useExistingRole: name-of-some-role
# useExistingRole: YourExistingRoleName
extraRoleRules: []
# - apiGroups: []
# resources: []
# verbs: []
# Uncomment the lines below if you are going to use RBAC without pre-existing Role
# Also you can add your rules to the ones given below
# - apiGroups: [""]
# resources: ["namespaces", "serviceaccounts"]
# verbs: ["get"]

serviceMonitor:
# Set this to `true` to create ServiceMonitor for Prometheus operator
Expand Down