Compare commits
22 Commits
4bfa715948
...
420bd25e16
| Author | SHA1 | Date | |
|---|---|---|---|
|
420bd25e16
|
|||
|
caeee0dd2c
|
|||
|
357db355c2
|
|||
|
84b428f8c7
|
|||
|
ca14593fdd
|
|||
|
58e7b3e791
|
|||
|
11cd90a69a
|
|||
|
3d09135d23
|
|||
|
751172a4c7
|
|||
|
5edcb1ca67
|
|||
|
2f107ac2b7
|
|||
|
1b90c06585
|
|||
|
89657e6649
|
|||
|
b2794d418b
|
|||
|
6979b7b0f8
|
|||
|
fa52a3afa1
|
|||
|
64a3c4f24f
|
|||
|
5f1cb7d78d
|
|||
|
b9c2856764
|
|||
|
6f35f15cc9
|
|||
|
cd31e74003
|
|||
|
fe1bb96b08
|
@@ -9,7 +9,6 @@ resources:
|
|||||||
- ../../controllers/spegel/spegel.yaml
|
- ../../controllers/spegel/spegel.yaml
|
||||||
- ../../controllers/longhorn/longhorn.yaml
|
- ../../controllers/longhorn/longhorn.yaml
|
||||||
- ../../controllers/local-path-provisioner/local-path-provisioner.yaml
|
- ../../controllers/local-path-provisioner/local-path-provisioner.yaml
|
||||||
- ../../controllers/cnpg/cnpg.yaml
|
|
||||||
|
|
||||||
- ../../configs/artifacts.yaml
|
- ../../configs/artifacts.yaml
|
||||||
- ../../configs/letsencrypt/letsencrypt.yaml
|
- ../../configs/letsencrypt/letsencrypt.yaml
|
||||||
|
|||||||
@@ -39,8 +39,3 @@ spec:
|
|||||||
copy:
|
copy:
|
||||||
- from: "@foundation/controllers/local-path-provisioner**"
|
- from: "@foundation/controllers/local-path-provisioner**"
|
||||||
to: "@artifact/"
|
to: "@artifact/"
|
||||||
- name: cnpg
|
|
||||||
originRevision: "@foundation"
|
|
||||||
copy:
|
|
||||||
- from: "@foundation/controllers/cnpg/**"
|
|
||||||
to: "@artifact/"
|
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
||||||
kind: HelmRelease
|
|
||||||
metadata:
|
|
||||||
name: cnpg
|
|
||||||
namespace: cnpg-system
|
|
||||||
spec:
|
|
||||||
interval: 12h
|
|
||||||
install:
|
|
||||||
strategy:
|
|
||||||
name: RetryOnFailure
|
|
||||||
retryInterval: 2m
|
|
||||||
upgrade:
|
|
||||||
strategy:
|
|
||||||
name: RetryOnFailure
|
|
||||||
retryInterval: 3m
|
|
||||||
chart:
|
|
||||||
spec:
|
|
||||||
chart: cloudnative-pg
|
|
||||||
version: "0.27.x"
|
|
||||||
sourceRef:
|
|
||||||
kind: HelmRepository
|
|
||||||
name: cnpg
|
|
||||||
interval: 24h
|
|
||||||
valuesFrom:
|
|
||||||
- kind: ConfigMap
|
|
||||||
name: values-base
|
|
||||||
- kind: ConfigMap
|
|
||||||
name: values-overlay
|
|
||||||
optional: true
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
|
||||||
kind: HelmRepository
|
|
||||||
metadata:
|
|
||||||
name: cnpg
|
|
||||||
namespace: cnpg-system
|
|
||||||
spec:
|
|
||||||
interval: 24h
|
|
||||||
url: https://cloudnative-pg.github.io/charts
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- namespace.yaml
|
|
||||||
- helm-repository.yaml
|
|
||||||
- helm-release.yaml
|
|
||||||
|
|
||||||
configurations:
|
|
||||||
- name-reference.yaml
|
|
||||||
|
|
||||||
configMapGenerator:
|
|
||||||
- name: values-base
|
|
||||||
namespace: cnpg
|
|
||||||
files:
|
|
||||||
- values.yaml
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
nameReference:
|
|
||||||
- kind: ConfigMap
|
|
||||||
version: v1
|
|
||||||
fieldSpecs:
|
|
||||||
- path: spec/valuesFrom/name
|
|
||||||
kind: HelmRelease
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: cnpg-system
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: cnpg
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 1h
|
|
||||||
retryInterval: 2m
|
|
||||||
timeout: 5m
|
|
||||||
sourceRef:
|
|
||||||
kind: ExternalArtifact
|
|
||||||
name: cpng
|
|
||||||
path: ./${cluster_env}
|
|
||||||
prune: true
|
|
||||||
wait: true
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ../base
|
|
||||||
|
|
||||||
configMapGenerator:
|
|
||||||
- name: values-overlay
|
|
||||||
namespace: cnpg
|
|
||||||
files:
|
|
||||||
- values.yaml
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
replicaCount: 2
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ../base
|
|
||||||
|
|
||||||
configMapGenerator:
|
|
||||||
- name: values-overlay
|
|
||||||
namespace: cnpg
|
|
||||||
files:
|
|
||||||
- values.yaml
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
replicaCount: 1
|
|
||||||
@@ -4,23 +4,15 @@ metadata:
|
|||||||
name: spegel
|
name: spegel
|
||||||
namespace: spegel
|
namespace: spegel
|
||||||
spec:
|
spec:
|
||||||
interval: 12h
|
interval: 1m
|
||||||
install:
|
|
||||||
strategy:
|
|
||||||
name: RetryOnFailure
|
|
||||||
retryInterval: 2m
|
|
||||||
upgrade:
|
|
||||||
strategy:
|
|
||||||
name: RetryOnFailure
|
|
||||||
retryInterval: 3m
|
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: spegel
|
chart: spegel
|
||||||
version: "0.5.x"
|
version: "0.5.x"
|
||||||
|
interval: 5m
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: spegel
|
name: spegel
|
||||||
interval: 24h
|
|
||||||
values:
|
values:
|
||||||
spegel:
|
spegel:
|
||||||
containerdRegistryConfigPath: /etc/cri/conf.d/hosts
|
containerdRegistryConfigPath: /etc/cri/conf.d/hosts
|
||||||
|
|||||||
Reference in New Issue
Block a user