Skip to content
Snippets Groups Projects
Verified Commit 4c55d258 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

ci(charts): Upgrade to new helm-unittest version

parent 36bb14e1
Branches
Tags
No related merge requests found
...@@ -46,7 +46,7 @@ chart-helm-unittest: ...@@ -46,7 +46,7 @@ chart-helm-unittest:
stage: lint stage: lint
extends: .chart-matrix extends: .chart-matrix
image: image:
name: docker.io/helmunittest/helm-unittest:3.11.3-0.3.1 name: docker.io/helmunittest/helm-unittest:3.12.3-0.3.5
entrypoint: [""] entrypoint: [""]
script: script:
- if [ ! -e charts/${CHART}/tests ]; then echo "No helm unittests"; exit 0; fi - if [ ! -e charts/${CHART}/tests ]; then echo "No helm unittests"; exit 0; fi
......
{{- if .Values.postgresql.tls.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "hedgedoc.fullname" . }}-config
labels:
{{- include "hedgedoc.labels" . | nindent 4 }}
data:
config.json: |
{
"production": {
"db": {
"dialect": "postgres",
"protocol": "postgres",
"dialectOptions": {
"ssl": {
"require": true
}
}
}
}
}
{{- end }}
\ No newline at end of file
...@@ -73,4 +73,28 @@ data: ...@@ -73,4 +73,28 @@ data:
{{- end }} {{- end }}
{{- with .Values.config.defaultPermission }} {{- with .Values.config.defaultPermission }}
CMD_DEFAULT_PERMISSION: {{ . | quote }} CMD_DEFAULT_PERMISSION: {{ . | quote }}
{{- end }} {{- end }}
\ No newline at end of file {{- if .Values.postgresql.tls.enabled }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "hedgedoc.fullname" . }}-config
labels:
{{- include "hedgedoc.labels" . | nindent 4 }}
data:
config.json: |
{
"production": {
"db": {
"dialect": "postgres",
"protocol": "postgres",
"dialectOptions": {
"ssl": {
"require": true
}
}
}
}
}
{{- end }}
\ No newline at end of file
...@@ -15,7 +15,6 @@ spec: ...@@ -15,7 +15,6 @@ spec:
metadata: metadata:
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/config-file: {{ include (print $.Template.BasePath "/configmap-config.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }} checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }} {{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
......
...@@ -55,7 +55,6 @@ should match basic snapshot: ...@@ -55,7 +55,6 @@ should match basic snapshot:
metadata: metadata:
annotations: annotations:
checksum/config: 0e1a1adf160f3fcd20e855d82408506085eedd859609b97406b8c3c4a085d8df checksum/config: 0e1a1adf160f3fcd20e855d82408506085eedd859609b97406b8c3c4a085d8df
checksum/config-file: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
checksum/secret: 01de24789eacad789d51ab7b8e4987c034609b47cec2f6db41ff940f904fd252 checksum/secret: 01de24789eacad789d51ab7b8e4987c034609b47cec2f6db41ff940f904fd252
labels: labels:
app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/instance: RELEASE-NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment