Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(helm): fix postgresql values #19835

Merged
merged 1 commit into from
Apr 28, 2022
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
2 changes: 1 addition & 1 deletion helm/superset/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ maintainers:
- name: craig-rueda
email: [email protected]
url: https://github.com/craig-rueda
version: 0.6.0
version: 0.6.1
dependencies:
- name: postgresql
version: 11.1.22
Expand Down
100 changes: 45 additions & 55 deletions helm/superset/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -413,73 +413,63 @@
},
"postgresql": {
"type": "object",
"additionalProperties": true,
"properties": {
"enabled": {
"type": "boolean"
},
"existingSecret": {
"type": [
"string",
"null"
]
},
"existingSecretKey": {
"type": [
"string",
"null"
]
},
"service": {
"auth": {
"type": "object",
"additionalProperties": true,
"properties": {
"port": {
"type": "integer"
"database": {
"type": "string"
},
"existingSecret": {
"type": [
"string",
"null"
]
},
"password": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"port"
]
},
"postgresqlUsername": {
"type": "string"
},
"postgresqlPassword": {
"type": "string"
}
},
"postgresqlDatabase": {
"type": "string"
"enabled": {
"type": "boolean"
},
"persistence": {
"primary": {
"type": "object",
"additionalProperties": true,
"properties": {
"enabled": {
"type": "boolean"
"persistence": {
"type": "object",
"properties": {
"accessModes": {
"type": "array",
"items": {
"type": "string"
}
},
"enabled": {
"type": "boolean"
}
}
},
"accessModes": {
"type": "array",
"items": [
{
"type": "string"
"service": {
"type": "object",
"properties": {
"ports": {
"type": "object",
"properties": {
"postgresql": {
"type": "string"
}
}
}
]
}
}
},
"required": [
"enabled",
"accessModes"
]
}
}
},
"required": [
"enabled",
"service",
"postgresqlUsername",
"postgresqlDatabase",
"persistence"
]
}
},
"redis": {
"type": "object",
Expand Down
67 changes: 32 additions & 35 deletions helm/superset/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,42 +370,39 @@ postgresql:
## Use the PostgreSQL chart dependency.
## Set to false if bringing your own PostgreSQL.
enabled: true
##
## The name of an existing secret that contains the postgres password.
existingSecret:
## Name of the key containing the secret.
existingSecretKey: postgresql-password
##
## If you are bringing your own PostgreSQL, you should set postgresHost and
## also probably service.port, postgresqlUsername, postgresqlPassword, and postgresqlDatabase
## postgresHost:
##
## PostgreSQL port
service:
port: 5432
## PostgreSQL User to create.
postgresqlUsername: superset
##
## PostgreSQL Password for the new user.
## If not set, a random 10 characters password will be used.
postgresqlPassword: superset
##
## PostgreSQL Database to create.
postgresqlDatabase: superset
##
## Persistent Volume Storage configuration.
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes
persistence:
##
## Enable PostgreSQL persistence using Persistent Volume Claims.
enabled: true
##
## Persistant class
# storageClass: classname

## Authentication parameters
auth:
## The name of an existing secret that contains the postgres password.
existingSecret:
## PostgreSQL name for a custom user to create
username: superset
## PostgreSQL password for the custom user to create. Ignored if `auth.existingSecret` with key `password` is provided
password: superset
## PostgreSQL name for a custom database to create
database: superset


## PostgreSQL Primary parameters
primary:
##
## Access modes:
accessModes:
- ReadWriteOnce
## Persistent Volume Storage configuration.
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes
persistence:
##
## Enable PostgreSQL persistence using Persistent Volume Claims.
enabled: true
##
## Persistant class
# storageClass: classname
##
## Access modes:
accessModes:
- ReadWriteOnce
## PostgreSQL port
service:
ports:
postgresql: "5432"

## Configuration values for the Redis dependency.
## ref: https://github.com/bitnami/charts/blob/master/bitnami/redis
Expand Down