Fix Online Boutique: use GitRepository source

This commit is contained in:
2026-02-19 20:49:26 +00:00
parent 842b63b45a
commit a0aa4ea137

View File

@@ -1,12 +1,14 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
kind: GitRepository
metadata:
name: online-boutique
namespace: flux-system
spec:
interval: 1h
url: https://googlecloudplatform.github.io/microservices-demo
url: https://github.com/GoogleCloudPlatform/microservices-demo
ref:
branch: main
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
@@ -20,22 +22,11 @@ spec:
createNamespace: true
chart:
spec:
chart: onlineboutique
chart: ./helm-chart
sourceRef:
kind: HelmRepository
kind: GitRepository
name: online-boutique
interval: 1h
values:
frontend:
externalService: false
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
hosts:
- shop.davidepiu.xyz
tls:
- secretName: online-boutique-tls
hosts:
- shop.davidepiu.xyz