Skip to content

Commit a3ee3c7

Browse files
Merge pull request #880 from uselagoon/ui-beta-flag
fix: don't deploy any resources when not enabled
2 parents 8f00d6f + b75b0c9 commit a3ee3c7

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

charts/lagoon-core/Chart.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,5 @@ dependencies:
4040
# Valid supported kinds are added, changed, deprecated, removed, fixed and security
4141
annotations:
4242
artifacthub.io/changes: |
43-
- kind: changed
44-
description: update lagoon backup schedule to support changing to k8up.io
45-
- kind: removed
46-
description: removed lagoon-core bitbucket sync and open distro integrations
47-
- kind: added
48-
description: support for external database for api and keycloak
49-
- kind: added
50-
description: initial beta-ui inclusion
51-
- kind: changed
52-
description: update opensearch-sync to v0.14.2
53-
- kind: changed
54-
description: update lagoon appVersion to 2.30.0
55-
- kind: changed
56-
description: update insights-handler to v0.0.10
43+
- kind: fixed
44+
description: don't deploy any 'ui-beta' resources when not enabled

charts/lagoon-core/templates/ui-beta.secret.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.betaUI.enabled -}}
12
{{/*
23
This somewhat complex logic is intended to:
34
* generate a random secret value automatically on chart install
@@ -15,3 +16,4 @@ metadata:
1516
{{- include "lagoon-core.betaUI.labels" . | nindent 4 }}
1617
stringData:
1718
AUTH_SECRET: {{ $authSecret | quote }}
19+
{{- end }}

charts/lagoon-core/templates/ui-beta.service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.ui.enabled -}}
1+
{{- if .Values.betaUI.enabled -}}
22
apiVersion: v1
33
kind: Service
44
metadata:

0 commit comments

Comments
 (0)