Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed Mar 12, 2024
1 parent d8a891e commit e09f19d
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 26 deletions.
15 changes: 15 additions & 0 deletions aws/fiware/dome-wallet/wallet-driving/templates/role-binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ .Release.Name }}-cs-rb
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
subjects:
- kind: ServiceAccount
name: wallet-driving-sa
namespace: {{ .Release.Namespace | quote }}
roleRef:
kind: Role
name: {{ .Release.Name }}-ca-scc-anyuid
apiGroup: rbac.authorization.k8s.io
23 changes: 13 additions & 10 deletions aws/fiware/dome-wallet/wallet-driving/templates/role.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: wallet-driving
name: {{ .Release.Name }}-ca-scc-anyuid
labels:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
rules:
- apiGroups:
- security.openshift.io
resourceNames:
- anyuid
- privileged
resources:
- securitycontextconstraints
verbs:
- use
- apiGroups:
- security.openshift.io
resourceNames:
- anyuid
- privileged
resources:
- securitycontextconstraints
verbs:
- use
12 changes: 0 additions & 12 deletions aws/fiware/dome-wallet/wallet-driving/templates/rolebinding.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: wallet-driving-sa
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}

This file was deleted.

0 comments on commit e09f19d

Please sign in to comment.