Skip to content

Commit c5b457d

Browse files
committed
update charts
1 parent a6c94f3 commit c5b457d

25 files changed

+29
-7
lines changed

charts/cosmo/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: cosmo
33
description: COSMO Helm chart for Kubernetes
44
type: application
5-
version: 1.0.0-rc1
6-
appVersion: v1.0.0-rc1
5+
version: 1.0.0-rc2
6+
appVersion: v1.0.0-rc2
77
kubeVersion: ">= 1.19.0-0"
88
home: https://github.com/cosmo-workspace/cosmo
99
icon: https://raw.githubusercontent.com/cosmo-workspace/cosmo/main/logo/logo-square-small.png

charts/cosmo/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ Required domain
6262
Dashboad URL
6363
*/}}
6464
{{- define "cosmo.dashboard.signinUrl" -}}
65-
{{ if .Values.dashboard.tls.insecure -}}http{{- else -}}https{{ end }}://{{ .Values.dashboard.ingressRoute.host }}.{{ .Values.domain }}/#/signin
65+
{{ if not .Values.dashboard.tls.enabled -}}http{{- else -}}https{{ end }}://{{ .Values.dashboard.ingressRoute.host }}.{{ .Values.domain }}/#/signin
6666
{{- end }}

charts/cosmo/templates/auth-env-secret.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Secret
33
metadata:
44
name: cosmo-auth-env
55
namespace: "{{ .Release.Namespace }}"
6+
immutable: {{ .Values.dashboard.session.secretKeys.immutable }}
67
data:
78
COOKIE_DOMAIN: "{{ include "cosmo.domain" . | b64enc }}"
89
SIGNIN_URL: {{ include "cosmo.dashboard.signinUrl" . | b64enc | quote }}

charts/cosmo/templates/dashboard/ingressroute.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
name: cosmo-dashboard
2727
namespace: {{ .Release.Namespace }}
2828
port: cosmo-dashboard-ui-server
29-
scheme: {{ if .Values.dashboard.tls.insecure -}}http{{- else -}}https{{ end }}
29+
scheme: {{ if not .Values.dashboard.tls.enabled -}}http{{- else -}}https{{ end }}
3030
{{- end }}
3131
- kind: Rule
3232
match: Host(`{{ .Values.dashboard.ingressRoute.host }}.{{ .Values.domain }}`) && (Path(`/`) || PathPrefix(`/logo`,`/assets/`,`/dashboard.v1alpha1.AuthService/`))
@@ -36,7 +36,7 @@ spec:
3636
name: cosmo-dashboard
3737
namespace: {{ .Release.Namespace }}
3838
port: cosmo-dashboard-server
39-
scheme: {{ if .Values.dashboard.tls.insecure -}}http{{- else -}}https{{ end }}
39+
scheme: {{ if not .Values.dashboard.tls.enabled -}}http{{- else -}}https{{ end }}
4040
- kind: Rule
4141
match: Host(`{{ .Values.dashboard.ingressRoute.host }}.{{ .Values.domain }}`)
4242
priority: 1000
@@ -45,7 +45,7 @@ spec:
4545
name: cosmo-dashboard
4646
namespace: {{ .Release.Namespace }}
4747
port: cosmo-dashboard-server
48-
scheme: {{ if .Values.dashboard.tls.insecure -}}http{{- else -}}https{{ end }}
48+
scheme: {{ if not .Values.dashboard.tls.enabled -}}http{{- else -}}https{{ end }}
4949
{{- with .Values.dashboard.ingressRoute.middlewares }}
5050
middlewares:
5151
{{- toYaml . | nindent 8 }}

charts/cosmo/test/__snapshots__/test-certManager-existing-issuer.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,7 @@ SnapShot = """
10561056
COOKIE_HASHKEY: '###DYNAMIC_FIELD###'
10571057
COOKIE_SESSION_NAME: '###DYNAMIC_FIELD###'
10581058
SIGNIN_URL: aHR0cHM6Ly9kYXNoYm9hcmQuZXhhbXBsZS5jb20vIy9zaWduaW4=
1059+
immutable: true
10591060
kind: Secret
10601061
metadata:
10611062
name: cosmo-auth-env

charts/cosmo/test/__snapshots__/test-controllerManager-disable-healthz.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,7 @@ SnapShot = """
10561056
COOKIE_HASHKEY: '###DYNAMIC_FIELD###'
10571057
COOKIE_SESSION_NAME: '###DYNAMIC_FIELD###'
10581058
SIGNIN_URL: aHR0cHM6Ly9kYXNoYm9hcmQuZXhhbXBsZS5jb20vIy9zaWduaW4=
1059+
immutable: true
10591060
kind: Secret
10601061
metadata:
10611062
name: cosmo-auth-env

charts/cosmo/test/__snapshots__/test-controllerManager-disable-metrics-kubeRbacProxy.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,7 @@ SnapShot = """
10531053
COOKIE_HASHKEY: '###DYNAMIC_FIELD###'
10541054
COOKIE_SESSION_NAME: '###DYNAMIC_FIELD###'
10551055
SIGNIN_URL: aHR0cHM6Ly9kYXNoYm9hcmQuZXhhbXBsZS5jb20vIy9zaWduaW4=
1056+
immutable: true
10561057
kind: Secret
10571058
metadata:
10581059
name: cosmo-auth-env

charts/cosmo/test/__snapshots__/test-controllerManager-disable-metrics.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,7 @@ SnapShot = """
10481048
COOKIE_HASHKEY: '###DYNAMIC_FIELD###'
10491049
COOKIE_SESSION_NAME: '###DYNAMIC_FIELD###'
10501050
SIGNIN_URL: aHR0cHM6Ly9kYXNoYm9hcmQuZXhhbXBsZS5jb20vIy9zaWduaW4=
1051+
immutable: true
10511052
kind: Secret
10521053
metadata:
10531054
name: cosmo-auth-env

charts/cosmo/test/__snapshots__/test-controllerManager-disable-webhook.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,7 @@ SnapShot = """
861861
COOKIE_HASHKEY: '###DYNAMIC_FIELD###'
862862
COOKIE_SESSION_NAME: '###DYNAMIC_FIELD###'
863863
SIGNIN_URL: aHR0cHM6Ly9kYXNoYm9hcmQuZXhhbXBsZS5jb20vIy9zaWduaW4=
864+
immutable: true
864865
kind: Secret
865866
metadata:
866867
name: cosmo-auth-env

charts/cosmo/test/__snapshots__/test-controllerManager-hostnetwork.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,7 @@ SnapShot = """
10721072
COOKIE_HASHKEY: '###DYNAMIC_FIELD###'
10731073
COOKIE_SESSION_NAME: '###DYNAMIC_FIELD###'
10741074
SIGNIN_URL: aHR0cHM6Ly9kYXNoYm9hcmQuZXhhbXBsZS5jb20vIy9zaWduaW4=
1075+
immutable: true
10751076
kind: Secret
10761077
metadata:
10771078
name: cosmo-auth-env

0 commit comments

Comments
 (0)