Commit Graph

18 Commits

Author SHA1 Message Date
Alan Meadows
468d99620f Allow overriding some critical postgre parameters
Ideally, this would completely own the postgresql.conf file that
is autogenerated by the container.  This should not be done without
further deliberation though on what impact that may have. For now,
this allows some critical items to be manipulated at installation
time but does not meet the full need of complete configuration
flexibility.

Change-Id: I94fd3ac42398f8114c0b5c8b4ef0a6a96e530f96
2018-06-26 12:05:40 -07:00
Pete Birley
67aed694c4 Deployments: Use current kubernetes deployment version
This PS moves to use the current ga version for kubernetes deployments.

Story: 2002205
Task: 21735
Depends-On: Icb4e7aa2392da6867427a58926be2da6f424bd56

Change-Id: I062a8a29dff70427ee9bcf09f595011b3611b0b1
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-13 21:29:59 -05:00
Pete Birley
460675bf7f Add image management function to manifests
When removing helm-toolkit from OSH and swithcing to use the
toolkit from OSH-Infra, the image declaration function was missed.

Depends-On: I2f2012590d81ffcb159d49d8a76eedd4441744cd
Change-Id: I0f1118bb748f3fe1b6bb73acfc00e77c5cca9c7d
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-20 10:10:16 -05:00
Steve Wilkerson
354b311ec5 Add local-registry image managment to OSH from OSH-Infra
This PS adds the local registry image managment to OSH from OSH-Infra.
With this the delta between helm-toolkits in the Repo's is removed,
allowing the toolkit from OSH-Infra to be used and the one from OSH
to be depreciated.

Change-Id: If5e218cf7df17261fe5ef249d281f9d9637e2f6a
Co-Authored-By: Pete Birley <pete@port.direct>
2018-05-12 14:35:48 +00:00
Scott Hussey
1233817ae9 Fix indent on Postgres pod resources
- Properly align the `resources` key in the Postgres
  server pod spec.

Change-Id: Ia17cdabd38291c1365aab7aca71dd59ee9a32b4f
2018-03-29 08:30:43 -05:00
Pete Birley
f57972b5b6 dependencies: move static dependencies under a 'static' key
This PS moves static dependencies under a 'static' key to allow
expansion to cover dynamic dependencies.

Change-Id: I38990b93aa79fa1f70af6f2c78e5e5c61c63f32c
2018-02-23 12:31:15 -08:00
Pete Birley
33f03ef828 Postgresql: Update chart to match current OSH format
This PS updates the Postgresql chart to match the current OSH
format.

Change-Id: Ifadb473043b51ccc10405886ae7a0954ce119a22
2018-02-22 19:21:03 -08:00
Zuul
826fddca01 Merge "Node Labels: update nodelabels to allow targeting of pods to nodes" 2018-02-20 00:41:51 +00:00
Pete Birley
b311f86193 Node Labels: update nodelabels to allow targeting of pods to nodes
This PS updates the node labels to allow pods to be targeted to nodes
on a per type basis.

Change-Id: I45d5383d04fcd1d98740a18d86c1cfc2cb8ec409
2018-02-19 11:51:09 -05:00
Marcus
57b3aece1f Fixes gnocchi with postgresql deployment if running on different hosts
a) The db-init method ignores the configured admin password.

This seems to work if db-init was scheduled to the same host as
postgresql is running on but fails on a remote connection. This change
sets the PGPASSWORD variable to the provided admin password.

b) Fixed liveness and readiness probe for postgresql

While this seems to work it continously outputs the message
"psql: FATAL: role "root" does not exist"

This change adds the admin username as argument to pg_isready
to stop this message.

Update: Making the linter happy ;-)

Change-Id: I59b47a8724065d08203c29172c15350aaa785203
Closes-Bug: #1749177
2018-02-19 11:18:52 -05:00
Scott Hussey
ddef303dc8 Fix PostgreSQL dataloss on pod restart
- Make data volume mount path configurable
- Use volumeMount subPath to avoid 'lost+found' in PVC
- Set PGDATA env to match data volume mount path

Change-Id: I5988ae663d21dd09f6edece9e380a001b3a2d2df
2018-02-02 22:30:44 +00:00
Scott Hussey
8960dc1b3a Support configurable admin credentials in Postgres
- Use endpoints auth section
- Store user and password in secrets
- Set them in the statefulset Pod environment

Change-Id: I9e503243f6ca157c4257475e902aa8138d2b089e
2018-01-24 16:20:53 -06:00
portdirect
fa2620d54b RBAC for OSH
This PS applys RBAC rules to OSH, based off the work
done in https://review.openstack.org/#/c/526464/

Change-Id: I541b0ac1a3972566ef2b66571ae32744dab70c17
2017-12-26 10:24:19 -05:00
intlabs
fe6107cf76 Images: Update values to allow simple parse of images being used
This PS updates the values file layout for images to allow simple
parsing of the images in use by charts, allowing them to be queried
and modified much more simply. By moving the image tags to a 'tags'
key, we can extend the options used simply to accomodate extra
options simply (eg prefixing the tag for use with an internal
registry) or pre-pulling the images to reduce chart deploy failure.

Change-Id: I9ec1dbb00d997ab6cb021bf0b698f7aae740e95d
2017-10-23 10:05:20 -05:00
Pete Birley
05bf70f4c7 Telemetry: add postgresql chart
This PS adds a PostgreSQL chart.

Change-Id: Id33b110e242d86a78215bc3926bfba4602b9a1c9
Co-Authored-By: Steve Wilkerson <sw5822@att.com>
Co-Authored-By: Larry Rensing <lr699s@att.com>
2017-10-03 20:05:27 +00:00
Pete Birley
2ba2c05008 Finish removal of non OpenStack Services
This Commit removes Maas and Postgresql from openstack-helm as they
have now migrated to openstack-helm-addons.

Finishes the work in: https://github.com/att-comdev/openstack-helm/issues/209
2017-03-29 16:07:49 -05:00
Brandon B. Jozsa
6aaf950a49 add license headers to postgresql (#225) 2017-02-20 07:09:47 -08:00
Larry Rensing
0c97c63cee Initial postgresql chart (#154) 2017-02-10 17:06:18 -08:00