Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 5f7e737

Browse files
committed
fix conductor tests
1 parent 81fee2c commit 5f7e737

File tree

5 files changed

+36
-343
lines changed

5 files changed

+36
-343
lines changed

charts/tembo-operator/values.schema.json

Lines changed: 0 additions & 300 deletions
This file was deleted.

charts/tembo-operator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ controller:
4545
port: http
4646
path: /metrics
4747

48-
extraEnv: {}
48+
extraEnv: []
4949

5050
# -- Annotations to be added to the deployment
5151
annotations: {}
@@ -113,7 +113,7 @@ pod-init:
113113
# -- Overrides the image tag whose default is latest
114114
tag: latest
115115

116-
extraEnv: {}
116+
extraEnv: []
117117

118118
# -- Annotations to be added to the deployment
119119
annotations: {}

conductor/justfile

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,19 @@ install-traefik:
1313
helm upgrade --install --namespace=traefik --values=./testdata/traefik-values.yaml traefik traefik/traefik
1414

1515
install-operator:
16-
helm upgrade --install --create-namespace --namespace=coredb-operator --values=./testdata/operator-values.yaml tembo-operator ../charts/tembo-operator
16+
just install-cert-manager
17+
helm upgrade --install --create-namespace --namespace=tembo-system --values=./testdata/operator-values.yaml tembo ../charts/tembo-operator
1718

1819
install-kube-prometheus-stack:
1920
kubectl create namespace monitoring || true
2021
helm upgrade --install --namespace=monitoring monitoring prometheus-community/kube-prometheus-stack
2122

22-
install-tembo-pod-init:
23-
kubectl create namespace tembo-pod-init || true
24-
helm upgrade --install \
25-
cert-manager jetstack/cert-manager \
26-
--namespace cert-manager \
27-
--create-namespace \
28-
--set installCRDs=true && \
29-
helm upgrade --install --namespace=tembo-pod-init --values=./testdata/pod-init.yaml tembo-pod-init ../charts/tembo-pod-init
30-
31-
install-cnpg:
32-
helm upgrade --install cnpg \
33-
--namespace cnpg-system \
34-
--create-namespace \
35-
--set config.data.INHERITED_ANNOTATIONS="tembo-pod-init.tembo.io/*" \
36-
cnpg/cloudnative-pg
23+
install-cert-manager:
24+
helm upgrade --install \
25+
cert-manager jetstack/cert-manager \
26+
--namespace cert-manager \
27+
--create-namespace \
28+
--set installCRDs=true
3729

3830
install-tempo:
3931
helm upgrade --install \
@@ -42,7 +34,7 @@ install-tempo:
4234

4335
enable-cnpg-default-namespace:
4436
kubectl label namespace default "tembo-pod-init.tembo.io/watch"="true"
45-
kubectl delete pods -n tembo-pod-init --all
37+
kubectl delete pods -n tembo-system
4638

4739
update-helm-repos:
4840
helm repo add cnpg https://cloudnative-pg.github.io/charts
@@ -64,9 +56,7 @@ start-kind:
6456
just install-kube-prometheus-stack
6557
just install-tempo
6658
just install-traefik
67-
just install-cnpg
6859
just install-operator
69-
just install-tembo-pod-init
7060
just annotate
7161
kubectl wait pods --for=condition=Ready --timeout=300s --all --all-namespaces
7262

0 commit comments

Comments
 (0)