Fix bundle role/rolebinding naming conflict (#333)
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
kind: Role
|
kind: Role
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "spire-server.fullname" . }}-bundle
|
name: {{ include "spire-lib.bundle-configmap" . }}
|
||||||
namespace: {{ .Values.notifier.k8sbundle.namespace | default $namespace }}
|
namespace: {{ .Values.notifier.k8sbundle.namespace | default $namespace }}
|
||||||
rules:
|
rules:
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
@@ -50,7 +50,7 @@ roleRef:
|
|||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "spire-server.fullname" . }}-bundle
|
name: {{ include "spire-lib.bundle-configmap" . }}
|
||||||
namespace: {{ .Values.notifier.k8sbundle.namespace | default $namespace }}
|
namespace: {{ .Values.notifier.k8sbundle.namespace | default $namespace }}
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
@@ -58,7 +58,7 @@ subjects:
|
|||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: Role
|
kind: Role
|
||||||
name: {{ include "spire-server.fullname" . }}-bundle
|
name: {{ include "spire-lib.bundle-configmap" . }}
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
|
||||||
{{- if and .Values.nodeAttestor.k8sPsat.enabled }}
|
{{- if and .Values.nodeAttestor.k8sPsat.enabled }}
|
||||||
|
|||||||
Reference in New Issue
Block a user