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 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: GitRepository
metadata: metadata:
name: online-boutique name: online-boutique
namespace: flux-system namespace: flux-system
spec: spec:
interval: 1h 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 apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease kind: HelmRelease
@@ -20,22 +22,11 @@ spec:
createNamespace: true createNamespace: true
chart: chart:
spec: spec:
chart: onlineboutique chart: ./helm-chart
sourceRef: sourceRef:
kind: HelmRepository kind: GitRepository
name: online-boutique name: online-boutique
interval: 1h interval: 1h
values: values:
frontend: frontend:
externalService: false 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