Skip to content

Instantly share code, notes, and snippets.

@rafaeltuelho
Created August 8, 2024 22:08
Show Gist options
  • Select an option

  • Save rafaeltuelho/24f3a2a50e89c2e7e22396385edad31d to your computer and use it in GitHub Desktop.

Select an option

Save rafaeltuelho/24f3a2a50e89c2e7e22396385edad31d to your computer and use it in GitHub Desktop.

Revisions

  1. rafaeltuelho created this gist Aug 8, 2024.
    39 changes: 39 additions & 0 deletions bitnami-postgresql-values.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    global:
    postgresql:
    auth:
    postgresPassword: "secret"
    username: "artifactory"
    password: "artifactory"
    database: "artifactory"
    primary:
    persistence:
    enabled: false
    initdb:
    user: "postgres"
    password: "secret"
    scripts:
    initdb.sql: |-
    CREATE USER artifactory WITH PASSWORD 'artifactory';
    CREATE DATABASE artifactory WITH OWNER=artifactory ENCODING='UTF8';
    GRANT ALL PRIVILEGES ON DATABASE artifactory TO artifactory;
    # data-load.sh: |-
    # #!/bin/bash
    # echo "creating db"
    # psql -U postgres -P 'P0stgr3sql' -c postgres "CREATE USER artifactory WITH PASSWORD 'artifactory'";
    # psql -U postgres -P 'P0stgr3sql' -c postgres "CREATE DATABASE artifactory WITH OWNER=artifactory ENCODING='UTF8'";
    # psql -U postgres -P 'P0stgr3sql' -c postgres "GRANT ALL PRIVILEGES ON DATABASE artifactory TO artifactory";
    # echo "Done!!!"
    volumePermissions:
    enabled: false
    securityContext:
    runAsUser: "auto"

    securityContext:
    enabled: false

    shmVolume:
    chmod:
    enabled: false

    containerSecurityContext:
    enabled: false