flux: add casa git repo
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
|
# casa-limbosolutions-com
|
||||||
|
|
||||||
|
## sync cert
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
kubectl annotate secret casa-limbosolutions-com-tls \
|
kubectl annotate secret casa-limbosolutions-com-tls \
|
||||||
-n casa-limbosolutions-com \
|
-n casa-limbosolutions-com \
|
||||||
replicator.v1.mittwald.de/replicate-to="home-assistant,node-red,lyrionmusicserver"
|
replicator.v1.mittwald.de/replicate-to="home-assistant,node-red,lyrionmusicserver"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
kubectl kustomize deploy/flux | kubectl apply -f -
|
||||||
|
```
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
**
|
||||||
|
!.gitignore
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: casa
|
||||||
|
spec:
|
||||||
|
interval: 1m0s
|
||||||
|
url: ssh://git@git.limbosolutions.com:2222/myLimbo/casa.git
|
||||||
|
ref:
|
||||||
|
branch: main
|
||||||
|
secretRef:
|
||||||
|
name: flux-repo-ssh-credentials
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: casa-limbosolutions-com
|
||||||
|
resources:
|
||||||
|
- git-repo.yaml
|
||||||
|
secretGenerator:
|
||||||
|
- name: flux-repo-ssh-credentials
|
||||||
|
namespace: casa-limbosolutions-com
|
||||||
|
files:
|
||||||
|
- "identity=./.env.d/flux-repo-ssh-key"
|
||||||
|
- "known_hosts=./.env.d/flux-repo-ssh-known_hosts"
|
||||||
|
- "pubkey=./.env.d/flux-repo-ssh-key.pub"
|
||||||
|
- name: flux-sops-age
|
||||||
|
namespace: casa-limbosolutions-com
|
||||||
|
files:
|
||||||
|
- "age.agekey=./.env.d/age.agekey"
|
||||||
|
generatorOptions:
|
||||||
|
disableNameSuffixHash: true
|
||||||
Reference in New Issue
Block a user