kubernetes: ajouter example de config par kubernetes secret
This commit is contained in:
parent
df4d3bedaa
commit
48cd117bb9
1 changed files with 25 additions and 0 deletions
25
kubernetes/example-secret.yaml
Normal file
25
kubernetes/example-secret.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: agecemorg-config-secret
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
config.yaml: |
|
||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
documents:
|
||||||
|
endpoint: 's3.example.com:443'
|
||||||
|
use_ssl: true
|
||||||
|
access_key_id: 'CHANGE_ME'
|
||||||
|
secret_access_key: 'CHANGE_ME'
|
||||||
|
buckets:
|
||||||
|
'politiques': 'Politiques'
|
||||||
|
'reglements': 'Règlements'
|
||||||
|
'formulaires': 'Formulaires'
|
||||||
|
api:
|
||||||
|
auth: true
|
||||||
|
key: 'CHANGE_ME'
|
||||||
|
admin:
|
||||||
|
auth: true
|
||||||
|
username: 'CHANGE_ME'
|
||||||
|
password: 'CHANGE_ME'
|
Loading…
Add table
Reference in a new issue