Create util folder and add flux bootstrap

This commit is contained in:
xeruf 2024-04-20 18:30:06 +03:00
parent 5ee8e81372
commit 7b9eea3229
8 changed files with 13 additions and 5 deletions

View File

@ -60,7 +60,7 @@ First [install Stackspin](https://docs.stackspin.net/en/latest/installation/inst
Then apply the configuration to your cluster: Then apply the configuration to your cluster:
```sh ```sh
install.sh ./install.sh
``` ```
Done! Done!
@ -118,4 +118,6 @@ but for clarity I omitted it beyond the initial one.
Clouds are created not via Flux GitOps, Clouds are created not via Flux GitOps,
but through one-time scripts. but through one-time scripts.
![Flux Diagram](./stackspout.png) ![Flux Diagram](util/stackspout.png)
See also https://about.ftt.gmbh/projects/polygon.html#state-of-stackspout-2022

View File

@ -14,3 +14,8 @@ flux create kustomization stackspout \
--path="./infrastructure/kustomizations/" \ --path="./infrastructure/kustomizations/" \
--prune=true \ --prune=true \
--interval=5m --interval=5m
flux bootstrap git \
--url=https://open.greenhost.net/xeruf/stackspout.git \
--branch=main \
--path=util/flux

View File

0
util/flux/gotk-sync.yaml Normal file
View File

View File

@ -1,8 +1,9 @@
# https://fluxcd.io/flux/installation/configuration/boostrap-customization/
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
metadata: resources: # manifests generated during bootstrap
name: source-controller-patch - gotk-components.yaml
namespace: flux-system - gotk-sync.yaml
patches: patches:
- patch: | - patch: |
- op: add - op: add

View File

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 134 KiB