Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ echo "Installing bitnami PostgreSQL"
# tag::install-bitnami-psql[]
helm install superset oci://registry-1.docker.io/bitnamicharts/postgresql \
--version 16.5.0 \
--set image.repository=bitnamilegacy/postgresql \
--set volumePermissions.image.repository=bitnamilegacy/os-shell \
--set metrics.image.repository=bitnamilegacy/postgres-exporter \
--set global.security.allowInsecureImages=true \
--set auth.username=superset \
--set auth.password=superset \
--set auth.database=superset \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ echo "Installing bitnami PostgreSQL"
# tag::install-bitnami-psql[]
helm install superset oci://registry-1.docker.io/bitnamicharts/postgresql \
--version 16.5.0 \
--set image.repository=bitnamilegacy/postgresql \
--set volumePermissions.image.repository=bitnamilegacy/os-shell \
--set metrics.image.repository=bitnamilegacy/postgres-exporter \
--set global.security.allowInsecureImages=true \
--set auth.username=superset \
--set auth.password=superset \
--set auth.database=superset \
Expand Down
4 changes: 2 additions & 2 deletions examples/superset-with-ldap.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# helm install secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator
# helm install commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator
# helm install --repo https://charts.bitnami.com/bitnami --set auth.username=superset --set auth.password=superset --set auth.database=superset superset-postgresql postgresql
# 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

# Log in with user01/user01 or user02/user02
---
Expand Down Expand Up @@ -36,7 +36,7 @@ spec:
spec:
containers:
- name: openldap
image: docker.io/bitnami/openldap:2.5
image: docker.io/bitnamilegacy/openldap:2.5
env:
- name: LDAP_ADMIN_USERNAME
value: admin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
2 changes: 1 addition & 1 deletion tests/templates/kuttl/ldap/20-install-openldap.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ commands:
fsGroup: 1000
containers:
- name: openldap
image: docker.io/bitnami/openldap:2.5
image: docker.io/bitnamilegacy/openldap:2.5
env:
- name: LDAP_ADMIN_USERNAME
value: admin
Expand Down
13 changes: 13 additions & 0 deletions tests/templates/kuttl/ldap/helm-bitnami-postgresql-values.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down
13 changes: 13 additions & 0 deletions tests/templates/kuttl/smoke/helm-bitnami-postgresql-values.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
---
global:
security:
allowInsecureImages: true # needed starting with Chart version 16.3.0 if modifying images

image:
repository: bitnamilegacy/postgresql

volumePermissions:
enabled: false
image:
repository: bitnamilegacy/os-shell
securityContext:
runAsUser: auto

metrics:
image:
repository: bitnamilegacy/postgres-exporter

primary:
podSecurityContext:
{% if test_scenario['values']['openshift'] == 'true' %}
Expand Down