Deploy coulomb-social image tag as string; pin 7067145
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Helm --set-string for numeric git SHAs (InvalidImageName fix).
Ingress entrypoints web+websecure; values pin first release tag.
This commit is contained in:
tegwick 2026-08-09 02:32:37 +02:00
parent 2ab6662142
commit ca804ef148
3 changed files with 5 additions and 4 deletions

View file

@ -278,14 +278,14 @@ check-coulomb-social-image-tag: ## Require an explicit coulomb-social image tag
coulomb-social-dry-run: check-coulomb-social-image-tag ## helm template render for coulomb-social
helm template $(COULOMB_SOCIAL_RELEASE) $(COULOMB_SOCIAL_CHART) \
-f $(COULOMB_SOCIAL_VALUES) \
--set image.tag=$(COULOMB_SOCIAL_IMAGE_TAG) \
--set-string image.tag=$(COULOMB_SOCIAL_IMAGE_TAG) \
--namespace $(COULOMB_SOCIAL_NAMESPACE)
coulomb-social-deploy: check-production-kubeconfig check-coulomb-social-image-tag ## Deploy / upgrade coulomb-social
kubectl create namespace $(COULOMB_SOCIAL_NAMESPACE) --dry-run=client -o yaml | kubectl apply -f -
helm upgrade --install $(COULOMB_SOCIAL_RELEASE) $(COULOMB_SOCIAL_CHART) \
-f $(COULOMB_SOCIAL_VALUES) \
--set image.tag=$(COULOMB_SOCIAL_IMAGE_TAG) \
--set-string image.tag=$(COULOMB_SOCIAL_IMAGE_TAG) \
--namespace $(COULOMB_SOCIAL_NAMESPACE) \
--wait --timeout 5m

View file

@ -3,7 +3,7 @@
image:
repository: forgejo.coulomb.social/coulomb/coulomb-social
tag: "pending" # pin to git SHA after first image publish
tag: "7067145"
env:
DJANGO_SETTINGS_MODULE: coulomb_social.settings.prod

View file

@ -7,7 +7,8 @@ metadata:
namespace: coulomb-social
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
ingressClassName: traefik
tls: