Skip to content

Commit

Permalink
the volume names were not following RFC 1123 label requirements appar…
Browse files Browse the repository at this point in the history
…ently - swapping things around so that they ideally should

Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
  • Loading branch information
Amndeep7 committed Feb 14, 2024
1 parent 8e2cc47 commit 5022502
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion heimdall2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: heimdall
description: Heimdall2 lets you view, store, and compare automated security control scan results.

type: application
version: 3.1.4
version: 3.1.5
appVersion: "release-latest"

annotations:
Expand Down
14 changes: 7 additions & 7 deletions heimdall2/templates/heimdall-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ spec:
securityContext:
{{- toYaml .Values.heimdall.podSecurityContext | nindent 8 }}
volumes:
- name: injectedCerts
- name: injected-certs
configMap:
name: {{ .Values.certs.name }}
{{- range .Values.certs.processedCertsMountPaths }}
- name: "processedCerts - {{ . }}"
{{- range $index := .Values.certs.processedCertsMountPaths }}
- name: "processed-certs-{{ $index }}"
emptyDir:
{{- end }}
initContainers:
Expand All @@ -44,11 +44,11 @@ spec:
imagePullPolicy: {{ .Values.certs.image.pullPolicy }}
command: {{ .Values.certs.command }}
volumeMounts:
- name: injectedCerts
- name: injected-certs
mountPath: {{ .Values.certs.injectedCertsMountPath }}
{{- range .Values.certs.processedCertsMountPaths }}
- name: "processedCerts - {{ . }}"
mountPath: {{ . }}
{{- range $index, $path := .Values.certs.processedCertsMountPaths }}
- name: "processed-certs-{{ $index }}"
mountPath: {{ $path }}
{{- end }}
containers:
- name: heimdall-front
Expand Down

0 comments on commit 5022502

Please sign in to comment.