Skip to content

Commit 58dbe10

Browse files
committed
chore: update tests and docs to use bitnamilegacy
1 parent c8c33d8 commit 58dbe10

13 files changed

+128
-3
lines changed

docs/modules/superset/examples/getting_started/getting_started.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ echo "Installing bitnami PostgreSQL"
5252
# tag::install-bitnami-psql[]
5353
helm install superset oci://registry-1.docker.io/bitnamicharts/postgresql \
5454
--version 16.5.0 \
55+
--set image.repository=bitnamilegacy/postgresql \
56+
--set volumePermissions.image.repository=bitnamilegacy/os-shell \
57+
--set metrics.image.repository=bitnamilegacy/postgres-exporter \
58+
--set global.security.allowInsecureImages=true \
5559
--set auth.username=superset \
5660
--set auth.password=superset \
5761
--set auth.database=superset \

docs/modules/superset/examples/getting_started/getting_started.sh.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ echo "Installing bitnami PostgreSQL"
5252
# tag::install-bitnami-psql[]
5353
helm install superset oci://registry-1.docker.io/bitnamicharts/postgresql \
5454
--version 16.5.0 \
55+
--set image.repository=bitnamilegacy/postgresql \
56+
--set volumePermissions.image.repository=bitnamilegacy/os-shell \
57+
--set metrics.image.repository=bitnamilegacy/postgres-exporter \
58+
--set global.security.allowInsecureImages=true \
5559
--set auth.username=superset \
5660
--set auth.password=superset \
5761
--set auth.database=superset \

examples/superset-with-ldap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# helm install secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator
22
# helm install commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator
3-
# helm install --repo https://charts.bitnami.com/bitnami --set auth.username=superset --set auth.password=superset --set auth.database=superset superset-postgresql postgresql
3+
# helm install --set auth.username=superset --set auth.password=superset --set auth.database=superset --set image.repository=bitnamilegacy/postgresql --set volumePermissions.image.repository=bitnamilegacy/os-shell --set metrics.image.repository=bitnamilegacy/postgres-exporter --set global.security.allowInsecureImages=true superset-postgresql oci://registry-1.docker.io/bitnamicharts/postgresql
44

55
# Log in with user01/user01 or user02/user02
66
---
@@ -36,7 +36,7 @@ spec:
3636
spec:
3737
containers:
3838
- name: openldap
39-
image: docker.io/bitnami/openldap:2.5
39+
image: docker.io/bitnamilegacy/openldap:2.5
4040
env:
4141
- name: LDAP_ADMIN_USERNAME
4242
value: admin

tests/templates/kuttl/cluster-operation/helm-bitnami-postgresql-values.yaml.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
---
2+
global:
3+
security:
4+
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images
5+
6+
image:
7+
repository: bitnamilegacy/postgresql
8+
29
volumePermissions:
310
enabled: false
11+
image:
12+
repository: bitnamilegacy/os-shell
413
securityContext:
514
runAsUser: auto
615

16+
metrics:
17+
image:
18+
repository: bitnamilegacy/postgres-exporter
19+
720
primary:
821
podSecurityContext:
922
{% if test_scenario['values']['openshift'] == 'true' %}

tests/templates/kuttl/druid-connection/helm-bitnami-postgresql-values.yaml.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
---
2+
global:
3+
security:
4+
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images
5+
6+
image:
7+
repository: bitnamilegacy/postgresql
8+
29
volumePermissions:
310
enabled: false
11+
image:
12+
repository: bitnamilegacy/os-shell
413
securityContext:
514
runAsUser: auto
615

16+
metrics:
17+
image:
18+
repository: bitnamilegacy/postgres-exporter
19+
720
primary:
821
podSecurityContext:
922
{% if test_scenario['values']['openshift'] == 'true' %}

tests/templates/kuttl/external-access/helm-bitnami-postgresql-values.yaml.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
---
2+
global:
3+
security:
4+
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images
5+
6+
image:
7+
repository: bitnamilegacy/postgresql
8+
29
volumePermissions:
310
enabled: false
11+
image:
12+
repository: bitnamilegacy/os-shell
413
securityContext:
514
runAsUser: auto
615

16+
metrics:
17+
image:
18+
repository: bitnamilegacy/postgres-exporter
19+
720
primary:
821
podSecurityContext:
922
{% if test_scenario['values']['openshift'] == 'true' %}

tests/templates/kuttl/ldap/20-install-openldap.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ commands:
4646
fsGroup: 1000
4747
containers:
4848
- name: openldap
49-
image: docker.io/bitnami/openldap:2.5
49+
image: docker.io/bitnamilegacy/openldap:2.5
5050
env:
5151
- name: LDAP_ADMIN_USERNAME
5252
value: admin

tests/templates/kuttl/ldap/helm-bitnami-postgresql-values.yaml.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
---
2+
global:
3+
security:
4+
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images
5+
6+
image:
7+
repository: bitnamilegacy/postgresql
8+
29
volumePermissions:
310
enabled: false
11+
image:
12+
repository: bitnamilegacy/os-shell
413
securityContext:
514
runAsUser: auto
615

16+
metrics:
17+
image:
18+
repository: bitnamilegacy/postgres-exporter
19+
720
primary:
821
podSecurityContext:
922
{% if test_scenario['values']['openshift'] == 'true' %}

tests/templates/kuttl/logging/helm-bitnami-postgresql-values.yaml.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
---
2+
global:
3+
security:
4+
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images
5+
6+
image:
7+
repository: bitnamilegacy/postgresql
8+
29
volumePermissions:
310
enabled: false
11+
image:
12+
repository: bitnamilegacy/os-shell
413
securityContext:
514
runAsUser: auto
615

16+
metrics:
17+
image:
18+
repository: bitnamilegacy/postgres-exporter
19+
720
primary:
821
podSecurityContext:
922
{% if test_scenario['values']['openshift'] == 'true' %}

tests/templates/kuttl/oidc/10_helm-bitnami-postgresql-values.yaml.j2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
---
2+
global:
3+
security:
4+
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images
5+
6+
image:
7+
repository: bitnamilegacy/postgresql
8+
29
volumePermissions:
310
enabled: false
11+
image:
12+
repository: bitnamilegacy/os-shell
413
securityContext:
514
runAsUser: auto
615

16+
metrics:
17+
image:
18+
repository: bitnamilegacy/postgres-exporter
19+
720
primary:
821
podSecurityContext:
922
{% if test_scenario['values']['openshift'] == 'true' %}

0 commit comments

Comments
 (0)