Browse Source

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
changes/32/695032/18
varagini karthik 3 months ago
parent
commit
35733a4151
4 changed files with 134 additions and 17 deletions
  1. +28
    -10
      global/schemas/pegleg/SoftwareVersions/v1.yaml
  2. +2
    -1
      global/software/charts/utilities/chart-group.yaml
  3. +84
    -0
      global/software/charts/utilities/postgresql-utility.yaml
  4. +20
    -6
      global/software/config/versions.yaml

+ 28
- 10
global/schemas/pegleg/SoftwareVersions/v1.yaml View File

@@ -828,6 +828,17 @@ data:
type: string
reference:
type: string
mysqlclient-utility:
type: object
properties:
type:
type: string
location:
type: string
subpath:
type: string
reference:
type: string
openstack-utility:
type: object
properties:
@@ -839,17 +850,17 @@ data:
type: string
reference:
type: string
mysqlclient-utility:
postgresql-utility:
type: object
properties:
type:
type: string
location:
type: string
subpath:
type: string
reference:
type: string
location:
type: string
subpath:
type: string
reference:
type: string
files:
type: object
properties:
@@ -1079,17 +1090,24 @@ data:
type: string
image_repo_sync:
type: string
mysqlclient-utility:
type: object
properties:
mysqlclient_utility:
type: string
image_repo_sync:
type: string
openstack-utility:
type: object
properties:
openstack-utility:
openstack_utility:
type: string
image_repo_sync:
type: string
mysqlclient-utility:
postgresql-utility:
type: object
properties:
mysqlclient_utility:
postgresql_utility:
type: string
image_repo_sync:
type: string

+ 2
- 1
global/software/charts/utilities/chart-group.yaml View File

@@ -16,5 +16,6 @@ data:
# - ceph-utility
- compute-utility
- etcdctl-utility
- openstack-utility
- mysqlclient-utility
- openstack-utility
- postgresql-utility

+ 84
- 0
global/software/charts/utilities/postgresql-utility.yaml 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.postgresql.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: []
...

+ 20
- 6
global/software/config/versions.yaml View File

@@ -602,6 +602,17 @@ data:
reference: 03580ec90afa162c166661acf27f351b83565375
subpath: helm-toolkit
type: git
postgresql-utility:
location: https://opendev.org/airship/porthole
reference: 0546a3aff7af4541e07630589a15a3d172c8ff5c
subpath: charts/postgresql-utility
type: git
postgresql-utility-htk:
location: https://opendev.org/openstack/openstack-helm-infra
reference: 03580ec90afa162c166661acf27f351b83565375
subpath: helm-toolkit
type: git

images:
calico:
calico:
@@ -1089,23 +1100,26 @@ data:
shipyard_db_sync: quay.io/airshipit/shipyard:72ca47e5c9ae8b7b1dcccd7742be6499f0411650-ubuntu_xenial
utility:
calicoctl-utility:
calicoctl_utility: quay.io/airshipit/porthole-calicoctl-utility:8a08f26f4ae409d985c0c123e293a1ac7ccd3a8b-alpine
calicoctl_utility: quay.io/airshipit/porthole-calicoctl-utility:744e4bb10acccaa8722f9e05fb0a39a1b5b35731-ubuntu_bionic
image_repo_sync: docker.io/docker:18.09.02
ceph-utility:
ceph_utility: quay.io/airshipit/porthole-ceph-utility:8a08f26f4ae409d985c0c123e293a1ac7ccd3a8b-ubuntu_xenial
ceph_utility: quay.io/airshipit/porthole-ceph-utility:744e4bb10acccaa8722f9e05fb0a39a1b5b35731-ubuntu_bionic
image_repo_sync: docker.io/docker:18.09.02
compute-utility:
compute_utility: quay.io/airshipit/porthole-compute-utility:8a08f26f4ae409d985c0c123e293a1ac7ccd3a8b-ubuntu_xenial
compute_utility: quay.io/airshipit/porthole-compute-utility:744e4bb10acccaa8722f9e05fb0a39a1b5b35731-ubuntu_bionic
image_repo_sync: docker.io/docker:18.09.02
etcdctl-utility:
etcdctl_utility: quay.io/airshipit/porthole-etcdctl-utility:8a08f26f4ae409d985c0c123e293a1ac7ccd3a8b-ubuntu_xenial
etcdctl_utility: quay.io/airshipit/porthole-etcdctl-utility:744e4bb10acccaa8722f9e05fb0a39a1b5b35731-ubuntu_bionic
image_repo_sync: docker.io/docker:18.09.02
mysqlclient-utility:
image_repo_sync: docker.io/docker:18.09.02
mysqlclient_utility: quay.io/airshipit/porthole-mysqlclient-utility:f165082caf47cc3cc487138081589a373a36ac36-ubuntu_xenial
mysqlclient_utility: quay.io/airshipit/porthole-mysqlclient-utility:744e4bb10acccaa8722f9e05fb0a39a1b5b35731-ubuntu_bionic
openstack-utility:
image_repo_sync: docker.io/docker:18.09.02
openstack-utility: quay.io/airshipit/porthole-openstack-utility:8a08f26f4ae409d985c0c123e293a1ac7ccd3a8b-ubuntu_xenial
openstack-utility: quay.io/airshipit/porthole-openstack-utility:744e4bb10acccaa8722f9e05fb0a39a1b5b35731-ubuntu_bionic
postgresql-utility:
postgresql_utility: quay.io/airshipit/porthole-postgresql-utility:744e4bb10acccaa8722f9e05fb0a39a1b5b35731-ubuntu_bionic
image_repo_sync: docker.io/docker:18.09.02
packages:
gpgkey: |-
-----BEGIN PGP PUBLIC KEY BLOCK-----

Loading…
Cancel
Save