This repository was archived by the owner on Mar 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +33
-6
lines changed
Expand file tree Collapse file tree 2 files changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.1.31
18+ version : 0.1.32
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ data :
3+ adminUsername : {{.Values.octopus.username | b64enc}}
4+ adminPassword : {{.Values.octopus.password | b64enc}}
5+ licenseKey : {{.Values.octopus.licenseKeyBase64 | b64enc}}
6+ masterKey : {{.Values.octopus.masterKey | b64enc}}
7+ dbConnString : {{ tpl .Values.octopus.connectionString . | b64enc}}
8+ kind : Secret
9+ metadata :
10+ name : octopus-secrets
11+ type : Opaque
12+ ---
113apiVersion : apps/v1
214kind : StatefulSet
315metadata :
@@ -71,19 +83,34 @@ spec:
7183 fieldRef :
7284 fieldPath : metadata.name
7385 - name : DB_CONNECTION_STRING
74- value : {{ tpl .Values.octopus.connectionString . }}
86+ valueFrom :
87+ secretKeyRef :
88+ name : octopus-secrets
89+ key : dbConnString
7590 - name : ADMIN_USERNAME
76- value : {{.Values.octopus.username}}
91+ valueFrom :
92+ secretKeyRef :
93+ name : octopus-secrets
94+ key : adminUsername
7795 - name : ADMIN_PASSWORD
78- value : {{.Values.octopus.password}}
96+ valueFrom :
97+ secretKeyRef :
98+ name : octopus-secrets
99+ key : adminPassword
79100 - name : ADMIN_EMAIL
80101 value : {{.Values.octopus.email}}
81102 - name : OCTOPUS_SERVER_BASE64_LICENSE
82103 # Your license key goes here. When using more than one node, a HA license is required.
83104 # Without a HA license, the stateful set can have a replica count of 1.
84- value : {{ .Values.octopus.licenseKeyBase64 }}
105+ valueFrom :
106+ secretKeyRef :
107+ name : octopus-secrets
108+ key : licenseKey
85109 - name : MASTER_KEY
86- value : {{.Values.octopus.masterKey}}
110+ valueFrom :
111+ secretKeyRef :
112+ name : octopus-secrets
113+ key : masterKey
87114 {{- if not .Values.octopus.enableDockerInDocker }}
88115 - DISABLE_DIND = !!str "Y"
89116 {{- end }}
You can’t perform that action at this time.
0 commit comments