Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Get rid of the randomly generated values #20

Open
wants to merge 3 commits into
base: os-six
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chart/codefresh/charts/consul/templates/consul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: {{ template "consul.fullname" . }}-gossip-key
type: Opaque
data:
gossip-key: {{ randAlphaNum 24 | b64enc }}
gossip-key: aHRWOG9vWmlxcXV0UkpQeXJTUk90eHNE
---
{{- if .Values.uiService.enabled }}
apiVersion: v1
Expand Down
2 changes: 0 additions & 2 deletions chart/codefresh/charts/cronus/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ metadata:
type: {{ .Values.event.type }}
kind: {{ .Values.event.kind }}
data:
# always regenerate random token - leads to shanged SHA256 sum and thus Deployment recreate
random_token: {{ randAlphaNum 10 | b64enc | quote }}
# cron trigger configuration
config.json: |
{
Expand Down
2 changes: 0 additions & 2 deletions chart/codefresh/charts/hermes/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
# always regenerate random token - leads to shanged SHA256 sum and thus Deployment recreate
random_token: {{ randAlphaNum 10 | b64enc | quote }}
# TODO: replace hardcoded value with discovery
type_config.json: |
{
Expand Down
2 changes: 0 additions & 2 deletions chart/codefresh/charts/nomios/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ metadata:
type: {{ .Values.event.type }}
kind: {{ .Values.event.kind }}
data:
# always regenerate random token - leads to shanged SHA256 sum and thus Deployment recreate
random_token: {{ randAlphaNum 10 | b64enc | quote }}
# DockerHub trigger type configuration
config.json: |
{
Expand Down