diff --git a/charts/ip-blocker/Chart.yaml b/charts/ip-blocker/Chart.yaml index 01e4d2f..a2166a8 100644 --- a/charts/ip-blocker/Chart.yaml +++ b/charts/ip-blocker/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: ip-blocker description: This chart deploys a daemon in k8s for blocking IPs from unwanted bots type: application -version: 0.5.1 -appVersion: 0.5.1 +version: 0.6.1 +appVersion: 0.6.1 diff --git a/charts/ip-blocker/templates/deployment.yaml b/charts/ip-blocker/templates/deployment.yaml index d69d334..2918598 100644 --- a/charts/ip-blocker/templates/deployment.yaml +++ b/charts/ip-blocker/templates/deployment.yaml @@ -63,7 +63,7 @@ spec: volumes: - name: credentials secret: - secretName: ip-blocker-key + secretName: {{ .Values.GCPArmor.credentialsName }} - name: commonconfig-volume projected: defaultMode: 420 diff --git a/charts/ip-blocker/values.yaml b/charts/ip-blocker/values.yaml index 35b3a1e..367c92e 100644 --- a/charts/ip-blocker/values.yaml +++ b/charts/ip-blocker/values.yaml @@ -65,6 +65,7 @@ elasticSearch: address: "https://host.docker.internal:9200" GCPArmor: + credentialsName: ip-blocker files: gcp-armor-config.yaml: preview: "true"