From 3afa1f3995b5e62f503b496436ad038e90db110b Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Wed, 31 Jul 2024 20:28:57 -0700 Subject: [PATCH] Drop the `.cluster.local` suffix While this is the standard suffix, it is configurable and not necessarily accurate. Just using `.svc` and relying on ndots it used elsewhere through the helm chart, so drop the qualification here. Signed-off-by: Matt Moore --- charts/scaffold/Chart.yaml | 2 +- charts/scaffold/README.md | 2 +- charts/scaffold/templates/copy-secrets-job.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/scaffold/Chart.yaml b/charts/scaffold/Chart.yaml index d0f118ee..aa51e979 100644 --- a/charts/scaffold/Chart.yaml +++ b/charts/scaffold/Chart.yaml @@ -4,7 +4,7 @@ description: Scaffolding the components of the sigstore architecture type: application -version: 0.6.54 +version: 0.6.55 keywords: - security - pki diff --git a/charts/scaffold/README.md b/charts/scaffold/README.md index ab032d7d..e06cdde0 100644 --- a/charts/scaffold/README.md +++ b/charts/scaffold/README.md @@ -2,7 +2,7 @@ -![Version: 0.6.54](https://img.shields.io/badge/Version-0.6.54-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.6.55](https://img.shields.io/badge/Version-0.6.55-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Scaffolding the components of the sigstore architecture diff --git a/charts/scaffold/templates/copy-secrets-job.yaml b/charts/scaffold/templates/copy-secrets-job.yaml index 734dfd72..98eb23af 100644 --- a/charts/scaffold/templates/copy-secrets-job.yaml +++ b/charts/scaffold/templates/copy-secrets-job.yaml @@ -52,7 +52,7 @@ spec: command: ["/bin/sh"] args: [ "-c", - "curl {{ .Values.rekor.server.fullnameOverride}}.{{ .Values.rekor.namespace.name }}.svc.cluster.local/api/v1/log/publicKey -o /tmp/key -v && kubectl create secret generic {{ .Values.tuf.secrets.rekor.name }} --from-file=key=/tmp/key" + "curl {{ .Values.rekor.server.fullnameOverride}}.{{ .Values.rekor.namespace.name }}.svc/api/v1/log/publicKey -o /tmp/key -v && kubectl create secret generic {{ .Values.tuf.secrets.rekor.name }} --from-file=key=/tmp/key" ] - name: copy-fulcio-secret image: {{ template "scaffold.image" .Values.copySecretJob }} @@ -76,7 +76,7 @@ spec: command: ["/bin/sh"] args: [ "-c", - "curl {{ .Values.tsa.server.fullnameOverride}}.{{ .Values.tsa.namespace.name }}.svc.cluster.local/api/v1/timestamp/certchain -o /tmp/cert-chain -v && kubectl create secret generic {{ .Values.tuf.secrets.tsa.name }} --from-file=cert-chain=/tmp/cert-chain" + "curl {{ .Values.tsa.server.fullnameOverride}}.{{ .Values.tsa.namespace.name }}.svc/api/v1/timestamp/certchain -o /tmp/cert-chain -v && kubectl create secret generic {{ .Values.tuf.secrets.tsa.name }} --from-file=cert-chain=/tmp/cert-chain" ] {{- if .Values.copySecretJob.nodeSelector }} nodeSelector: