diff --git a/aws/fiware/dome-wallet/wallet-driving/templates/deployment.yaml b/aws/fiware/dome-wallet/wallet-driving/templates/deployment.yaml index c243b2ed..cc553de1 100644 --- a/aws/fiware/dome-wallet/wallet-driving/templates/deployment.yaml +++ b/aws/fiware/dome-wallet/wallet-driving/templates/deployment.yaml @@ -21,7 +21,6 @@ spec: labels: {{ include "wallet-driving.labels" . | nindent 8 }} spec: - serviceAccountName: wallet-driving-sa containers: - name: {{ .Chart.Name }} imagePullPolicy: {{ .Values.deployment.image.pullPolicy }} diff --git a/aws/fiware/dome-wallet/wallet-driving/templates/role-binding.yaml b/aws/fiware/dome-wallet/wallet-driving/templates/role-binding.yaml deleted file mode 100644 index b5ea3ac7..00000000 --- a/aws/fiware/dome-wallet/wallet-driving/templates/role-binding.yaml +++ /dev/null @@ -1,15 +0,0 @@ -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 \ No newline at end of file diff --git a/aws/fiware/dome-wallet/wallet-driving/templates/role.yaml b/aws/fiware/dome-wallet/wallet-driving/templates/role.yaml deleted file mode 100644 index 10c8fd8d..00000000 --- a/aws/fiware/dome-wallet/wallet-driving/templates/role.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - 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 \ No newline at end of file diff --git a/aws/fiware/dome-wallet/wallet-driving/templates/service-account.yaml b/aws/fiware/dome-wallet/wallet-driving/templates/service-account.yaml deleted file mode 100644 index 5edf3517..00000000 --- a/aws/fiware/dome-wallet/wallet-driving/templates/service-account.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: wallet-driving-sa - labels: - heritage: {{ .Release.Service | quote }} - release: {{ .Release.Name | quote }} \ No newline at end of file