keptn-contrib / prometheus-service

Keptn service for utilizing Prometheus monitoring and alerting in keptn
Apache License 2.0
10 stars 13 forks source link

ServiceAccount Template not generating #391

Open amukherjeeupgrade opened 1 year ago

amukherjeeupgrade commented 1 year ago

When trying to disable the creation of the ClusterRoles/RoleBindings and the ServiceAccount by setting the value serviceAccount.create to false it's not creating serviceAccountName. However, it's creating the reference to the serviceAccountName. Basically in Deployment template we see serviceAccountName: keptn-prometheus-service. However, it’s not creating any ServiceAccount Template. We are missing this block.

# Source: prometheus-service/templates/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount metadata: name: keptn-prometheus-service labels: helm.sh/chart: prometheus-service-0.9.1 app.kubernetes.io/name: prometheus-service app.kubernetes.io/instance: prometheus-service app.kubernetes.io/version: "0.9.1" app.kubernetes.io/managed-by: Helm