Fix missing service account secret in docker-compose-minikube role (#14596)

* Fix missing service account secret

Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
This commit is contained in:
lmo5
2023-10-25 21:27:21 +02:00
committed by GitHub
parent 21fb395912
commit a5f33456b6
2 changed files with 10 additions and 8 deletions

View File

@@ -36,3 +36,12 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: {{ minikube_service_account_name }}
---
apiVersion: v1
kind: Secret
metadata:
name: {{ minikube_service_account_name }}
namespace: {{ minikube_service_account_namespace }}
annotations:
kubernetes.io/service-account.name: {{ minikube_service_account_name }}
type: kubernetes.io/service-account-token