Compare commits
2 Commits
a8e74b6161
...
73f4a70bc5
| Author | SHA1 | Date | |
|---|---|---|---|
|
73f4a70bc5
|
|||
|
d66ac7e606
|
@@ -9,6 +9,8 @@ spec:
|
|||||||
timeout: 5m
|
timeout: 5m
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: cnpg
|
- name: cnpg
|
||||||
|
- name: lldap-controller
|
||||||
|
- name: dragonfly-operator
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: ExternalArtifact
|
kind: ExternalArtifact
|
||||||
name: authelia
|
name: authelia
|
||||||
|
|||||||
@@ -37,10 +37,10 @@ configMap:
|
|||||||
secret_name: authelia-lldap-credentials
|
secret_name: authelia-lldap-credentials
|
||||||
path: password
|
path: password
|
||||||
|
|
||||||
# session:
|
session:
|
||||||
# redis:
|
redis:
|
||||||
# enabled: true
|
enabled: true
|
||||||
# host: dragonflydb.authelia
|
host: dragonfly.authelia
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
postgres:
|
postgres:
|
||||||
|
|||||||
6
apps/authelia/production/dragonfly.yaml
Normal file
6
apps/authelia/production/dragonfly.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: dragonflydb.io/v1alpha1
|
||||||
|
kind: Dragonfly
|
||||||
|
metadata:
|
||||||
|
name: dragonfly
|
||||||
|
spec:
|
||||||
|
replicas: 2
|
||||||
16
apps/authelia/production/kustomization.yaml
Normal file
16
apps/authelia/production/kustomization.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
|
- dragonfly.yaml
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- path: cluster.yaml
|
||||||
|
target:
|
||||||
|
kind: Cluster
|
||||||
|
|
||||||
|
configMapGenerator:
|
||||||
|
- name: values-overlay
|
||||||
|
namespace: authelia
|
||||||
|
files:
|
||||||
|
- values.yaml
|
||||||
6
apps/authelia/staging/dragonfly.yaml
Normal file
6
apps/authelia/staging/dragonfly.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: dragonflydb.io/v1alpha1
|
||||||
|
kind: Dragonfly
|
||||||
|
metadata:
|
||||||
|
name: dragonfly
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
@@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
- dragonfly.yaml
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: cluster.yaml
|
- path: cluster.yaml
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ resources:
|
|||||||
- ../../controllers/cnpg/cnpg.yaml
|
- ../../controllers/cnpg/cnpg.yaml
|
||||||
- ../../controllers/reflector/reflector.yaml
|
- ../../controllers/reflector/reflector.yaml
|
||||||
- ../../controllers/lldap-controller/lldap-controller.yaml
|
- ../../controllers/lldap-controller/lldap-controller.yaml
|
||||||
|
- ../../controllers/dragonfly-operator/dragonfly-operator.yaml
|
||||||
|
|
||||||
- ../../configs/artifacts.yaml
|
- ../../configs/artifacts.yaml
|
||||||
- ../../configs/cilium-config/cilium-config.yaml
|
- ../../configs/cilium-config/cilium-config.yaml
|
||||||
|
|||||||
@@ -44,3 +44,8 @@ spec:
|
|||||||
copy:
|
copy:
|
||||||
- from: "@foundation/controllers/reflector/**"
|
- from: "@foundation/controllers/reflector/**"
|
||||||
to: "@artifact/"
|
to: "@artifact/"
|
||||||
|
- name: dragonfly-operator
|
||||||
|
originRevision: "@foundation"
|
||||||
|
copy:
|
||||||
|
- from: "@foundation/controllers/dragonfly-operator/**"
|
||||||
|
to: "@artifact/"
|
||||||
|
|||||||
15
controllers/dragonfly-operator/dragonfly-operator.yaml
Normal file
15
controllers/dragonfly-operator/dragonfly-operator.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: dragonfly-operator
|
||||||
|
namespace: dragonfly-operator
|
||||||
|
spec:
|
||||||
|
interval: 1h
|
||||||
|
retryInterval: 2m
|
||||||
|
timeout: 5m
|
||||||
|
sourceRef:
|
||||||
|
kind: ExternalArtifact
|
||||||
|
name: dragonfly-operator
|
||||||
|
path: .
|
||||||
|
prune: true
|
||||||
|
wait: true
|
||||||
4
controllers/dragonfly-operator/kustomization.yaml
Normal file
4
controllers/dragonfly-operator/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/v1.3.1/manifests/dragonfly-operator.yaml
|
||||||
Reference in New Issue
Block a user