Skip to content

Commit

Permalink
Drop the .cluster.local suffix
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mattmoor committed Aug 1, 2024
1 parent b0a2dc9 commit 3afa1f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/scaffold/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/scaffold/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- This README.md is generated. Please edit README.md.gotmpl -->

![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

Expand Down
4 changes: 2 additions & 2 deletions charts/scaffold/templates/copy-secrets-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit 3afa1f3

Please sign in to comment.