[bitnami/sonarqube] feat: 🔒 Enable networkPolicy (#22722)

* [bitnami/sonarqube] feat: 🔒 Enable networkPolicy

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Update bitnami/sonarqube/templates/externaldb-secret.yaml

Co-authored-by: Fran de Paz Galán <fran.de-paz@broadcom.com>
Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com>

* Update bitnami/sonarqube/values.yaml

Co-authored-by: Fran de Paz Galán <fran.de-paz@broadcom.com>
Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com>

---------

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com>
Co-authored-by: Fran de Paz Galán <fran.de-paz@broadcom.com>
This commit is contained in:
Javier J. Salmerón-García
2024-01-26 13:57:26 +01:00
committed by GitHub
parent 5162d8034c
commit cfc94a7d63
17 changed files with 192 additions and 54 deletions

View File

@@ -10,7 +10,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ .name }}
namespace: {{ $.Release.Namespace | quote }}
namespace: {{ include "common.names.namespace" $ | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" $.Values.commonLabels "context" $ ) | nindent 4 }}
{{- if $.Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 4 }}
@@ -30,7 +30,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ $secretName }}
namespace: {{ .Release.Namespace | quote }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}