feat(jenkins): adding new default jenkins configuration
This commit is contained in:
@ -8,24 +8,24 @@ configurations:
|
||||
- ./configurations/cnpg-cluster.yaml
|
||||
|
||||
resources:
|
||||
- ./resources/MYAPPLICATION-cnpg-cluster.yaml
|
||||
- ./resources/myapplication-cnpg-cluster.yaml
|
||||
|
||||
secretgenerator:
|
||||
- name: MYAPPLICATION-postgres-admin
|
||||
- name: myapplication-postgres-admin
|
||||
type: secret
|
||||
literals:
|
||||
- username=postgres
|
||||
- password=notsosecret
|
||||
- name: MYAPPLICATION-postgres-user
|
||||
- name: myapplication-postgres-user
|
||||
type: Secret
|
||||
literals:
|
||||
- username=MYAPPLICATION
|
||||
- username=myapplication
|
||||
- password=NotSoSecretButThisIsBad
|
||||
|
||||
vars:
|
||||
- name: MYAPPLICATION_DATABASE_SERVICE_NAME
|
||||
- name: myapplication_DATABASE_SERVICE_NAME
|
||||
objref:
|
||||
name: MYAPPLICATION-postgres
|
||||
name: myapplication-postgres
|
||||
kind: Cluster
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
fieldref:
|
@ -1,17 +1,17 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: MYAPPLICATION-postgres
|
||||
name: myapplication-postgres
|
||||
spec:
|
||||
instances: 3
|
||||
primaryUpdateStrategy: unsupervised
|
||||
superuserSecret:
|
||||
name: MYAPPLICATION-postgres-admin
|
||||
name: myapplication-postgres-admin
|
||||
bootstrap:
|
||||
initdb:
|
||||
database: MYAPPLICATION
|
||||
owner: MYAPPLICATION
|
||||
database: myapplication
|
||||
owner: myapplication
|
||||
secret:
|
||||
name: MYAPPLICATION-postgres-user
|
||||
name: myapplication-postgres-user
|
||||
storage:
|
||||
size: 20Gi
|
Reference in New Issue
Block a user