diff --git a/Earthfile b/Earthfile index a3bd547..fb382fb 100644 --- a/Earthfile +++ b/Earthfile @@ -50,7 +50,7 @@ build-arm-v7: RUN chmod +x ./server USER nobody ENTRYPOINT ./server run - SAVE IMAGE --push ghcr.io/troop-dev/frontend-api:${VERSION} + SAVE IMAGE --push ghcr.io/troop-dev/k8s-pod-labeler:${VERSION} test: FROM +compile diff --git a/helm/k8s-pod-labeler/templates/webhook.yml b/helm/k8s-pod-labeler/templates/webhook.yml index 88d1bc0..eb0559e 100644 --- a/helm/k8s-pod-labeler/templates/webhook.yml +++ b/helm/k8s-pod-labeler/templates/webhook.yml @@ -3,7 +3,7 @@ {{- $tlsCrt := "" }} {{- $tlsKey := "" }} {{- $ca := genCA "svc-cat-ca" 3650 }} -{{- $svcName := include "kube-secrets-init.fullname" . }} +{{- $svcName := "k8s-pod-labeler" }} {{- $cn := printf "%s.%s.svc" $svcName .Release.Namespace }} {{- $altName1 := printf "%s.cluster.local" $cn }} {{- $altName2 := printf "%s" $cn }}