diff --git a/k8s/infrastructure/base/timescaledb/kustomization.yaml b/k8s/infrastructure/base/timescaledb/kustomization.yaml new file mode 100644 index 00000000..12496451 --- /dev/null +++ b/k8s/infrastructure/base/timescaledb/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - namespace.yaml + # - release.yaml + - repository.yaml diff --git a/k8s/infrastructure/base/timescaledb/namespace.yaml b/k8s/infrastructure/base/timescaledb/namespace.yaml new file mode 100644 index 00000000..0748882f --- /dev/null +++ b/k8s/infrastructure/base/timescaledb/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: timescaledb \ No newline at end of file diff --git a/k8s/infrastructure/base/timescaledb/repository.yaml b/k8s/infrastructure/base/timescaledb/repository.yaml new file mode 100644 index 00000000..ae6363e5 --- /dev/null +++ b/k8s/infrastructure/base/timescaledb/repository.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: timescaledb + namespace: timescaledb +spec: + interval: 1m + url: https://charts.timescale.com diff --git a/k8s/infrastructure/overlays/development/kustomization.yaml b/k8s/infrastructure/overlays/development/kustomization.yaml index 6b8b5197..8a2fbeba 100644 --- a/k8s/infrastructure/overlays/development/kustomization.yaml +++ b/k8s/infrastructure/overlays/development/kustomization.yaml @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../../base/cert-manager + - ../../base/timescaledb - ../../base/traefik-ingress patches: diff --git a/k8s/infrastructure/overlays/production/kustomization.yaml b/k8s/infrastructure/overlays/production/kustomization.yaml index 6b8b5197..8a2fbeba 100644 --- a/k8s/infrastructure/overlays/production/kustomization.yaml +++ b/k8s/infrastructure/overlays/production/kustomization.yaml @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../../base/cert-manager + - ../../base/timescaledb - ../../base/traefik-ingress patches: