diff --git a/kubernetes/appset.yaml b/kubernetes/appset.yaml index 481f5c41b..4e1bfd1f6 100644 --- a/kubernetes/appset.yaml +++ b/kubernetes/appset.yaml @@ -24,23 +24,23 @@ spec: goTemplate: true template: metadata: - name: pp-{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | trimSuffix "-" | lower }}-{{.number}} + name: pp-{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | replace "." "-" | trimSuffix "-" | lower }}-{{.number}} spec: destination: - namespace: prev-{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | trimSuffix "-" | lower }} + namespace: prev-{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | replace "." "-" | trimSuffix "-" | lower }} server: https://kubernetes.default.svc project: default source: helm: parameters: - name: shortbranch - value: '{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | trimSuffix "-" | lower }}' + value: '{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | replace "." "-" | trimSuffix "-" | lower }}' - name: sha value: '{{.head_short_sha_7}}' - name: branch value: '{{.branch}}' - name: host - value: '{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | trimSuffix "-" | lower }}.loculus.org' + value: '{{ (printf "%.25s" .branch) | replace "_" "-" | replace "/" "-" | replace "." "-" | trimSuffix "-" | lower }}.loculus.org' valueFiles: - values.yaml - values_preview_server.yaml