flux: prepare for renovate
This commit is contained in:
parent
b22999d78a
commit
e857d0d749
6 changed files with 33 additions and 1 deletions
4
flux/cluster/apps/gitops/kustomization.yaml
Normal file
4
flux/cluster/apps/gitops/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- renovate
|
17
flux/cluster/apps/gitops/renovate/external-secret.yaml
Normal file
17
flux/cluster/apps/gitops/renovate/external-secret.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: authentik
|
||||
namespace: gitops
|
||||
spec:
|
||||
refreshInterval: "5m"
|
||||
secretStoreRef:
|
||||
name: vault
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: authentik
|
||||
data:
|
||||
- secretKey: RENOVATE_TOKEN
|
||||
remoteRef:
|
||||
key: gitops/renovate
|
||||
property: gitea_token
|
4
flux/cluster/apps/gitops/renovate/kustomization.yaml
Normal file
4
flux/cluster/apps/gitops/renovate/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- external-secret.yaml
|
|
@ -4,3 +4,4 @@ resources:
|
|||
- networking
|
||||
- presidential-paradise
|
||||
- authentik
|
||||
- gitops
|
||||
|
|
5
flux/cluster/core/namespaces/gitops.yaml
Normal file
5
flux/cluster/core/namespaces/gitops.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: gitops
|
|
@ -5,4 +5,5 @@ resources:
|
|||
- networking.yaml
|
||||
- external-secrets.yaml
|
||||
- authentik.yaml
|
||||
- gitops.yaml
|
||||
|
||||
|
|
Loading…
Reference in a new issue