Skip to content

Commit

Permalink
Merge pull request #90 from trifork/feature/rename_secret
Browse files Browse the repository at this point in the history
Feature/rename secret
  • Loading branch information
mbjtrifork authored Aug 10, 2023
2 parents b30178b + bbe187e commit 27dc625
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/flink-job/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.2
version: 0.4.3

dependencies:
- name: image-automation
Expand Down
2 changes: 1 addition & 1 deletion charts/flink-job/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flink-job

![Version: 0.4.2](https://img.shields.io/badge/Version-0.4.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.4.3](https://img.shields.io/badge/Version-0.4.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart for handling Cheetah Data Platform Flink jobs

Expand Down
2 changes: 1 addition & 1 deletion charts/flink-job/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data:
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-mtls-password" ( include "flink-job.fullname" . ) | quote }}
name: {{ printf "%s-mtls-password" ( include "flink-job.nameWithimageHash" . ) | quote }}
stringData:
password: {{ sha1sum (nospace (toString .Values.image)) | trunc 10 }}
{{- end -}}

0 comments on commit 27dc625

Please sign in to comment.