Closed allenporter closed 7 months ago
--- tests/testdata/cluster/clusters/prod Kustomization: flux-system/flux-system Kustomization: flux-system/apps
+++ tests/testdata/cluster/clusters/prod Kustomization: flux-system/flux-system Kustomization: flux-system/apps
@@ -9,12 +9,15 @@
namespace: flux-system
spec:
dependsOn:
- name: infra-configs
interval: 10m0s
path: ./tests/testdata/cluster/apps/prod
+ postBuild:
+ substitute:
+ cluster_env: production
prune: true
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true
--- HelmRelease: podinfo/podinfo Ingress: podinfo/podinfo
+++ HelmRelease: podinfo/podinfo Ingress: podinfo/podinfo
@@ -6,13 +6,13 @@
labels:
app.kubernetes.io/name: podinfo
app.kubernetes.io/managed-by: Helm
spec:
ingressClassName: nginx
rules:
- - host: podinfo.production
+ - host: podinfo.prod
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
--- HelmRelease: podinfo/podinfo Ingress: podinfo/podinfo
+++ HelmRelease: podinfo/podinfo Ingress: podinfo/podinfo
@@ -6,13 +6,13 @@
labels:
app.kubernetes.io/name: podinfo
app.kubernetes.io/managed-by: Helm
spec:
ingressClassName: nginx
rules:
- - host: podinfo.production
+ - host: podinfo.prod
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
--- tests/testdata/cluster/clusters/prod Kustomization: flux-system/flux-system Kustomization: flux-system/apps
+++ tests/testdata/cluster/clusters/prod Kustomization: flux-system/flux-system Kustomization: flux-system/apps
@@ -9,12 +9,15 @@
namespace: flux-system
spec:
dependsOn:
- name: infra-configs
interval: 10m0s
path: ./tests/testdata/cluster/apps/prod
+ postBuild:
+ substitute:
+ cluster_env: production
prune: true
sourceRef:
kind: GitRepository
name: flux-system
timeout: 5m0s
wait: true
Issue #617