Skip to content

Commit

Permalink
rename secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
santinoncs committed Dec 15, 2022
1 parent b358523 commit d94a450
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/ip-blocker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.5
appVersion: 0.4.5
version: 0.5.0
appVersion: 0.5.0
8 changes: 6 additions & 2 deletions charts/ip-blocker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ spec:
- name: ELASTIC_ADDRESS
value: {{ .Values.elasticSearch.address }}
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /secrets/credentials.json
value: /secrets/private_key
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
- name: credentials
mountPath: /secrets
Expand All @@ -59,7 +63,7 @@ spec:
volumes:
- name: credentials
secret:
secretName: google-credentials
secretName: ip-blocker-key
- name: commonconfig-volume
projected:
defaultMode: 420
Expand Down

0 comments on commit d94a450

Please sign in to comment.