diff --git a/README.md b/README.md index 19a9c8632dbb9b6ef5124f38cf40782b574dabbe..e1142b13f1103c8d30de9ca55ee5aa38abd49600 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ curl --resolve podinfo.local:80:CLUSTER_IPV4_ADDRESS http://podinfo.local ## What's next ? -* Fork this repo to a private git remote +* Fork this repo to a private git remote (Github, Gitab, etc.) * Configure flux to use ssh instead of https for cloning * Add private ssh key for git pulling to flux * Add public ssh key for git pulling to your git remote diff --git a/basic/apps/example/podinfo-release.yaml b/basic/apps/example/podinfo-release.yaml index 15d4f566d2606bb36a835ef88ede8d3e9093f567..18e9a8112075801e9d206798ce9234e30bd72c30 100644 --- a/basic/apps/example/podinfo-release.yaml +++ b/basic/apps/example/podinfo-release.yaml @@ -2,7 +2,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: podinfo - namespace: example + namespace: example-basic spec: releaseName: podinfo chart: diff --git a/basic/clusters/production/apps-kustomization.yaml b/basic/clusters/production/apps-kustomization.yaml index f8ef777af7ddfe38d2af8552635270110f754244..f56ccd9c1b154e9e81aad05af9ecfb69bceebe91 100644 --- a/basic/clusters/production/apps-kustomization.yaml +++ b/basic/clusters/production/apps-kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 kind: Kustomization metadata: - name: custom-apps + name: custom-apps-basic namespace: flux-system spec: interval: 24h diff --git a/basic/clusters/production/infrastructure-kustomization.yaml b/basic/clusters/production/infrastructure-kustomization.yaml index 8533da93e56121ec0fd51ba11cd6501897333b2e..cdcb38608e62a655d8b6320c15ae23712e8a97c6 100644 --- a/basic/clusters/production/infrastructure-kustomization.yaml +++ b/basic/clusters/production/infrastructure-kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 kind: Kustomization metadata: - name: custom-infrastructure + name: custom-infrastructure-basic namespace: flux-system spec: interval: 24h diff --git a/basic/infrastructure/namespaces/example-namespace.yaml b/basic/infrastructure/namespaces/example-basic-namespace.yaml similarity index 65% rename from basic/infrastructure/namespaces/example-namespace.yaml rename to basic/infrastructure/namespaces/example-basic-namespace.yaml index 2a8a1284c4a67f072f74b16795014a5c75bc1891..4caf22613dbfb07af1155f2a183f989968e450d3 100644 --- a/basic/infrastructure/namespaces/example-namespace.yaml +++ b/basic/infrastructure/namespaces/example-basic-namespace.yaml @@ -1,4 +1,4 @@ apiVersion: v1 kind: Namespace metadata: - name: example + name: example-basic diff --git a/basic/install.sh b/basic/install.sh index dc2d47560ba85ddd41a38d03e32b127f443488d9..9681efa6dc2902b4206f4276d66c082cabc56de0 100755 --- a/basic/install.sh +++ b/basic/install.sh @@ -1,14 +1,14 @@ #!/usr/bin/env bash -echo "Creating / updating gitRepository custom-flux-example in namespace flux-system" -flux create source git custom-flux-example \ +echo "Creating / updating gitRepository custom-flux-example-basic in namespace flux-system" +flux create source git custom-flux-example-basic \ --url=https://open.greenhost.net/stackspin/custom-flux-example.git \ --branch=main \ --interval=1h -echo "Creating / updating kustomization custom-flux-example in namespace flux-system" -flux create kustomization custom-flux-example \ - --source=GitRepository/custom-flux-example \ +echo "Creating / updating kustomization custom-flux-example-basic in namespace flux-system" +flux create kustomization custom-flux-example-basic \ + --source=GitRepository/custom-flux-example-basic \ --path="./basic/clusters/production/" \ --prune=true \ --interval=1h