[WIP] Integrate postgresql utility container in airship/treasuremap

Postgresql utility container will be used by operations team
 to perform operation on postgresql server.

Change-Id: Ie24886fee74c75b7f4a4a9cf6640249912aa8e47
This commit is contained in:
varagini karthik 2019-11-19 22:16:25 +05:30
parent 8a1fdb960c
commit 8ce83fe1b6
4 changed files with 146 additions and 0 deletions

View File

@ -850,6 +850,28 @@ data:
type: string
reference:
type: string
postgresql-utility:
type: object
properties:
type:
type: string
location:
type: string
subpath:
type: string
reference:
type: string
postgresql-utility-htk:
type: object
properties:
type:
type: string
location:
type: string
subpath:
type: string
reference:
type: string
files:
type: object
properties:
@ -1093,6 +1115,13 @@ data:
type: string
image_repo_sync:
type: string
postgresql-utility:
type: object
properties:
postgresql-utility:
type: string
image_repo_sync:
type: string
ceph:
type: object
properties:

View File

@ -18,3 +18,4 @@ data:
- etcdctl-utility
- openstack-utility
- mysqlclient-utility
- postgresql-utility

View File

@ -0,0 +1,84 @@
---
schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: postgresql-utility
layeringDefinition:
abstract: false
layer: global
labels:
name: postgresql-utility
storagePolicy: cleartext
substitutions:
# Chart source
- src:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .charts.utility.postgresql-utility
dest:
path: .source
# Images
- src:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .images.utility.postgresql-utility
dest:
path: .values.images.tags
# CAs
-
src:
schema: deckhand/Passphrase/v1
name: ucp_postgres_admin_password
path: .
dest:
path: .values.secrets.password.admin
data:
chart_name: postgresql-utility
release: postgresql-utility
namespace: utility
protected:
continue_processing: true
wait:
timeout: 600
labels:
release_group: airship-postgresql-utility
install:
no_hooks: false
upgrade:
no_hooks: false
values:
labels:
utility:
node_selector_key: utility
node_selector_value: enabled
manifests:
configmap_bin: true
configmap_etc_client: true
configmap_etc_sudoers: true
deployment_utility: true
dependencies:
- postgresql-utility-htk
...
---
schema: armada/Chart/v1
metadata:
schema: metadata/Document/v1
name: postgresql-utility-htk
layeringDefinition:
abstract: false
layer: global
storagePolicy: cleartext
substitutions:
- src:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .charts.utility.postgresql-utility-htk
dest:
path: .source
data:
chart_name: postgresql-utility-htk
release: postgresql-utility-htk
namespace: postgresql-utility-htk
values: {}
dependencies: []
...

View File

@ -602,6 +602,28 @@ data:
reference: ef58054dff356334cdbfd96f04dc7c149768c76d
subpath: helm-toolkit
type: git
utility:
etcdctl-utility:
location: https://opendev.org/airship/porthole
reference: 449e7608b2f01384d501549dcfdfa90c4a40be13
subpath: etcdctl-utility
type: git
etcdctl-utility-htk:
location: https://opendev.org/openstack/openstack-helm-infra
reference: 926348fe2476051f9ca825916db333f81c0139b7
subpath: helm-toolkit
type: git
postgresql-utility:
location: https://opendev.org/airship/porthole
reference: 8a08f26f4ae409d985c0c123e293a1ac7ccd3a8b
subpath: charts/postgresql-utility
type: git
postgresql-utility-htk:
location: https://opendev.org/openstack/openstack-helm-infra
reference: 926348fe2476051f9ca825916db333f81c0139b7
subpath: helm-toolkit
type: git
images:
calico:
calico:
@ -714,6 +736,16 @@ data:
scheduler:
anchor: gcr.io/google-containers/hyperkube-amd64:v1.12.9
scheduler: gcr.io/google-containers/hyperkube-amd64:v1.12.9
utility:
etcdctl-utility:
etcdctl-utility: quay.io/airshipit/porthole-etcdctl-utility:8a08f26f4ae409d985c0c123e293a1ac7ccd3a8b-ubuntu_xenial
image_repo_sync: docker.io/docker:18.09.02
openstack-utility:
openstack-utility: quay.io/airshipit/porthole-openstack-utility:latest-ubuntu_xenial
image_repo_sync: docker.io/docker:18.09.02
postgresql-utility:
postgresql-utility: quay.io/airshipit/porthole-postgresql-utility:latest-ubuntu_xenial
image_repo_sync: docker.io/docker:18.09.02
validation:
pod_logs:
image: docker.io/library/busybox:1.28.3