Skip to content

Commit

Permalink
ADD User section
Browse files Browse the repository at this point in the history
  • Loading branch information
vrenaville committed Oct 12, 2021
1 parent c18b682 commit edbde41
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 107 deletions.
18 changes: 9 additions & 9 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
entries:
celebrimbor:
- apiVersion: v2
created: "2021-10-05T14:23:19.013021276+02:00"
created: "2021-10-12T12:58:21.42133886+02:00"
description: A Helm chart to deploy Celebrimbor on CampToCamp own platform
digest: 6b2afe14cf9676e39b19d9adc613ee13eabe828ccd1793aed7d076471cad6744
name: celebrimbor
Expand All @@ -12,7 +12,7 @@ entries:
version: 0.1.4
odoo:
- apiVersion: v2
created: "2021-10-05T14:23:19.015881357+02:00"
created: "2021-10-12T12:58:21.424890807+02:00"
description: A Helm chart to deploy Odoo on CampToCamp own platform
digest: 25686f393ae1a1812b379b4406c6bf0f27277b5d0f9298ebd43964232819924f
name: odoo
Expand All @@ -21,7 +21,7 @@ entries:
- odoo-0.1.27.tgz
version: 0.1.27
- apiVersion: v2
created: "2021-10-05T14:23:19.015334112+02:00"
created: "2021-10-12T12:58:21.424188688+02:00"
description: A Helm chart to deploy Odoo on CampToCamp own platform
digest: 18f1fe3ac407aaa559342f1e44eac08b5fe1f56e0762a8be357786ad8513446c
name: odoo
Expand All @@ -30,7 +30,7 @@ entries:
- odoo-0.1.26.tgz
version: 0.1.26
- apiVersion: v2
created: "2021-10-05T14:23:19.014772708+02:00"
created: "2021-10-12T12:58:21.423464194+02:00"
description: A Helm chart to deploy Odoo on CampToCamp own platform
digest: 5443f95bcaae2424bafa6ba04be363a6968e914474de3eaa74150bc64960a8a8
name: odoo
Expand All @@ -39,7 +39,7 @@ entries:
- odoo-0.1.25.tgz
version: 0.1.25
- apiVersion: v2
created: "2021-10-05T14:23:19.014184281+02:00"
created: "2021-10-12T12:58:21.422759136+02:00"
description: A Helm chart to deploy Odoo on CampToCamp own platform
digest: 15b0e060e45e0708e32d83d00c957bb4f917a6e4292ffb436ad2c2ad62e8a8cc
name: odoo
Expand All @@ -48,7 +48,7 @@ entries:
- odoo-0.1.24.tgz
version: 0.1.24
- apiVersion: v2
created: "2021-10-05T14:23:19.013593058+02:00"
created: "2021-10-12T12:58:21.422046663+02:00"
description: A Helm chart to deploy Odoo on CampToCamp own platform
digest: 4bd22deb128b90d2d3cf8919ada67661921415eac5351f28289b02c10cc7841a
name: odoo
Expand All @@ -59,11 +59,11 @@ entries:
odyssey:
- apiVersion: v1
appVersion: "1.0"
created: "2021-10-05T14:23:19.016483331+02:00"
created: "2021-10-12T12:58:21.425517656+02:00"
description: Odyssey chart
digest: 872a856ad66c15364c4bf9103ed15c9bbf6be959daac96bc1792b381fefd0e60
digest: a46fabd7fc74c98ad313eaad4a870f350688319e0b2d8b34a146c1a8bc7916e3
name: odyssey
urls:
- odyssey-0.1.0.tgz
version: 0.1.0
generated: "2021-10-05T14:23:19.012500318+02:00"
generated: "2021-10-12T12:58:21.420409762+02:00"
Binary file modified odyssey-0.1.0.tgz
Binary file not shown.
8 changes: 6 additions & 2 deletions odyssey/templates/_odyssey.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ storage {{ $k }} {

{{- range $k, $v := .Values.settings.databases }}
database {{ $k }} {
{{- range $subk, $subv := $v }}
{{ $subk }} = "{{ $subv }}"
{{- range $subdbk, $subdbv := $v }}
user {{ $subdbk }} {
{{- range $subuserk, $subuserv := $subdbv }}
{{ $subuserk }} = "{{ $subuserv }}"
{{- end }}
}
{{- end }}
}
{{- end }}
Expand Down
193 changes: 97 additions & 96 deletions odyssey/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,99 +353,100 @@ settings:

#databases:
# default:
# name: 'default'
#Authentication method.
#"none" - authentication turned off
#"block" - block this user
#"clear_text" - PostgreSQL clear text authentication
#"md5" - PostgreSQL md5 authentication
#"scram-sha-256" - PostgreSQL scram-sha-256 authentication
#"cert" - Compare client certificate Common Name against auth_common_name's
# authentication: "none"
#Authentication certificate CN.
#Specify common names to check for "cert" authentification method.
#If there are more then one common name is defined, all of them
#will be checked until match.
#Set 'default' to check for current user.
# auth_common_name: "default"
#Authentication method password.
#Depending on selected method, password can be in plain text or md5 hash.
# password: ""
#Authentication query.
#Use selected 'auth_query_db' and 'auth_query_user' to match a route.
#Use matched route server to send 'auth_query' to get username and password needed
#to authenticate a client.
# auth_query: "SELECT usename, passwd FROM pg_shadow WHERE usename=$1"
# auth_query_db: ""
# auth_query_user: ""
#Authentication PAM.
# auth_pam_service: "passwd"
#Client connections limit.
#Comment 'client_max' to disable the limit. On client limit reach, Odyssey will
#reply with 'too many connections'.
# client_max: 100
#Remote server to use.
#By default route database and user names are used as connection
#parameters to remote server. It is possible to override this values
#by specifying 'storage_db' and 'storage_user'. Remote server password
#can be set using 'storage_password' field.
# storage: "postgres_server"
#storage_db "database"
#storage_user "test"
#storage_password "test"
#Remote server auth
# password_passthrough: "yes"
#By default odyssey authenticate users itself, but if side auth application is used,
#like LDAP server, PAM module, or custom auth module, sometimes,
#instead of configuring storage_password, it is more convenient to reuse
#client-provided password to perform backend auth. If you set this option to "yes"
#Odyssey will store client token and use when new server connection is Opened. Anyway, if
#you configure storage_password for route, password_passthrough is essentially ignored
#Server pool mode.
#"session" - assign server connection to a client until it disconnects
#"transaction" - assign server connection to a client during a transaction lifetime
# pool: "transaction"
#Server pool size.
#Keep the number of servers in the pool as much as 'pool_size'.
#Clients are put in a wait queue, when all servers are busy.
#Set to zero to disable the limit.
# pool_size: 0
#Server pool wait timeout.
#Time to wait in milliseconds for an available server.
#Disconnect client on timeout reach.
#Set to zero to disable.
# pool_timeout: 0
#Server pool idle timeout.
#Close an server connection when it becomes idle for 'pool_ttl' seconds.
#Set to zero to disable.
# pool_ttl: 60
#Server pool parameters discard.
#Execute 'DISCARD ALL' and reset client parameters before using server
#from the pool.
# pool_discard: "no"
#Server pool auto-cancel.
#Start additional Cancel connection in case if server left with
#executing query. Close connection otherwise.
# pool_cancel: "yes"
#Server pool auto-rollback.
#Execute 'ROLLBACK' if server left in active transaction.
#Close connection otherwise.
# pool_rollback: "yes"
#drop stale client connection after this much seconds of idleness, which is not in transaction. 0 means inf (never drop)
# pool_client_idle_timeout: 0
#drop client connection in transaction after this much seconds of idleness. 0 means inf (never drop)
# pool_idle_in_transaction_timeout: 0
#Forward PostgreSQL errors during remote server connection.
# client_fwd_error: "yes"
#Add client host name to application_name parameter
# application_name_add_host: "yes"
#Connect new client to server immediately or wait for first query
# reserve_session_server_connection: "yes"
#Server lifetime - maximum number of seconds for a server connetion to live. Prevents cache bloat.
#Defaults to 3600 (1 hour)
# server_lifetime: 3600
#Enable verbose mode for a specific route only.
# log_debug: "no"
#Compute quantiles of query and transaction times
# quantiles: "0.99,0.95,0.5"

# default:
#Authentication method.
#"none" - authentication turned off
#"block" - block this user
#"clear_text" - PostgreSQL clear text authentication
#"md5" - PostgreSQL md5 authentication
#"scram-sha-256" - PostgreSQL scram-sha-256 authentication
#"cert" - Compare client certificate Common Name against auth_common_name's
# authentication: "none"
#Authentication certificate CN.
#Specify common names to check for "cert" authentification method.
#If there are more then one common name is defined, all of them
#will be checked until match.
#Set 'default' to check for current user.
# auth_common_name: "default"
#Authentication method password.
#Depending on selected method, password can be in plain text or md5 hash.
# password: ""
#Authentication query.
#Use selected 'auth_query_db' and 'auth_query_user' to match a route.
#Use matched route server to send 'auth_query' to get username and password needed
#to authenticate a client.
# auth_query: "SELECT usename, passwd FROM pg_shadow WHERE usename=$1"
# auth_query_db: ""
# auth_query_user: ""
#Authentication PAM.
# auth_pam_service: "passwd"
#Client connections limit.
#Comment 'client_max' to disable the limit. On client limit reach, Odyssey will
#reply with 'too many connections'.
# client_max: 100
#Remote server to use.
#By default route database and user names are used as connection
#parameters to remote server. It is possible to override this values
#by specifying 'storage_db' and 'storage_user'. Remote server password
#can be set using 'storage_password' field.
# storage: "postgres_server"
#storage_db "database"
#storage_user "test"
#storage_password "test"
#Remote server auth
# password_passthrough: "yes"
#By default odyssey authenticate users itself, but if side auth application is used,
#like LDAP server, PAM module, or custom auth module, sometimes,
#instead of configuring storage_password, it is more convenient to reuse
#client-provided password to perform backend auth. If you set this option to "yes"
#Odyssey will store client token and use when new server connection is Opened. Anyway, if
#you configure storage_password for route, password_passthrough is essentially ignored
#Server pool mode.
#"session" - assign server connection to a client until it disconnects
#"transaction" - assign server connection to a client during a transaction lifetime
# pool: "transaction"
#Server pool size.
#Keep the number of servers in the pool as much as 'pool_size'.
#Clients are put in a wait queue, when all servers are busy.
#Set to zero to disable the limit.
# pool_size: 0
#Server pool wait timeout.
#Time to wait in milliseconds for an available server.
#Disconnect client on timeout reach.
#Set to zero to disable.
# pool_timeout: 0
#Server pool idle timeout.
#Close an server connection when it becomes idle for 'pool_ttl' seconds.
#Set to zero to disable.
# pool_ttl: 60
#Server pool parameters discard.
#Execute 'DISCARD ALL' and reset client parameters before using server
#from the pool.
# pool_discard: "no"
#Server pool auto-cancel.
#Start additional Cancel connection in case if server left with
#executing query. Close connection otherwise.
# pool_cancel: "yes"
#Server pool auto-rollback.
#Execute 'ROLLBACK' if server left in active transaction.
#Close connection otherwise.
# pool_rollback: "yes"5TxEffER5vjrPe4
#drop stale client connection after this much seconds of idleness, which is not in transaction. 0 means inf (never drop)
# pool_client_idle_timeout: 0
#drop client connection in transaction after this much seconds of idleness. 0 means inf (never drop)
# pool_idle_in_transaction_timeout: 0
#Forward PostgreSQL errors during remote server connection.
# client_fwd_error: "yes"
#Add client host name to application_name parameter
# application_name_add_host: "yes"
#Connect new client to server immediately or wait for first query
# reserve_session_server_connection: "yes"
#Server lifetime - maximum number of seconds for a server connetion to live. Prevents cache bloat.
#Defaults to 3600 (1 hour)
# server_lifetime: 3600
#Enable verbose mode for a specific route only.
# log_debug: "no"
#Compute quantiles of query and transaction times
# quantiles: "0.99,0.95,0.5"


0 comments on commit edbde41

Please sign in to comment.