diff --git a/orchestra/Chart.yaml b/orchestra/Chart.yaml index 3f31673..db7ae1c 100644 --- a/orchestra/Chart.yaml +++ b/orchestra/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.10.51 +version: 2.10.52 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to @@ -27,4 +27,4 @@ sources: - https://github.com/OpenUnison/openunison-k8s - https://github.com/OpenUnison/helm-charts maintainers: - - name: mlbiam \ No newline at end of file + - name: mlbiam diff --git a/orchestra/templates/tests/precheck.yaml b/orchestra/templates/tests/precheck.yaml index a2cc60f..17154b6 100644 --- a/orchestra/templates/tests/precheck.yaml +++ b/orchestra/templates/tests/precheck.yaml @@ -161,6 +161,10 @@ spec: image: {{ .Values.openunison.precheck.image | default "ghcr.io/tremolosecurity/python3:1.0.0" }} imagePullPolicy: {{ .Values.openunison.imagePullPolicy }} command: ["python", "/scripts/check-hosts.py"] + {{ if .Values.precheck.resources }} + resources: + {{- toYaml .Values.precheck.resources | nindent 8 }} + {{ end }} securityContext: allowPrivilegeEscalation: false capabilities: @@ -202,4 +206,4 @@ spec: configMap: name: check-hosts-{{ .Release.Name }} - name: tmp-pad - emptyDir: {} \ No newline at end of file + emptyDir: {} diff --git a/orchestra/values.yaml b/orchestra/values.yaml index c5a584b..6f6632b 100644 --- a/orchestra/values.yaml +++ b/orchestra/values.yaml @@ -17,7 +17,9 @@ network: entrypoints: plaintext: web tls: websecure - + +precheck: + resources: {} cert_template: ou: "Kubernetes"