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:
```sh
install.sh
./install.sh
```
Done!
@ -118,4 +118,6 @@ but for clarity I omitted it beyond the initial one.
Clouds are created not via Flux GitOps,
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/" \
--prune=true \
--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
kind: Kustomization
metadata:
name: source-controller-patch
namespace: flux-system
resources: # manifests generated during bootstrap
- gotk-components.yaml
- gotk-sync.yaml
patches:
- patch: |
- op: add

View File

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 134 KiB