Commit Graph

29 Commits

Author SHA1 Message Date
Ritchie, Frank (fr801x) 6ae2bcf4ba Update helm toolkit reference
Update helm toolkit ref so that ingress will be created with a pathType
of Prefix.

https: //review.opendev.org/c/openstack/openstack-helm-infra/+/905757
Change-Id: I4b655daccdc613902f66c35615c1369e15001344
2024-01-25 17:00:40 -05:00
Sergiy Markin 4e96a3ee3e Helm toolkit uplift
This PS uplifts HTK version 0.2.59 and updates helm version to v3.13.2

Change-Id: I631d8c21a016e6cc54a70e4450794fffceefc5cf
2023-12-19 18:37:53 +00:00
Sergiy Markin a2f614e733 [htk] Helm toolkit uplift
This PS uplifts helm toolkit chart version 0.2.52 that has improved
database backup functions.

https://review.opendev.org/c/openstack/openstack-helm-infra/+/875975

Change-Id: I4d1464d72f860be2787b5007497962a338e0f41f
2023-03-02 22:57:36 +00:00
Wahlstedt, Walter (ww229g) 8ce937a9f7 updates for focal
add focal dockerfile
update zuul jobs for focal
update tox for tox4 changes
update all requirements to latest and match deckhand
update cfssl from R1.2 to v1.6.3
fixed local gates for focal
updated examples promenade manifests to run on focal

Change-Id: I2af4043784766d36588c6f738053ad66e7b89a90
2023-02-27 12:11:07 -05:00
Markin, Sergiy (sm515x) d316409fbd [CPID-354] Improve MariaDB Backup/Restore validation process
Updating etcd chart with added backup validation function empty implementation(subject for future realization). This has to be done because helm-toolkit chart in openstack-helm-infra is now calling that function verify_databases_backup_archives() as part of backup_databases() function implementation:
https://review.opendev.org/c/openstack/openstack-helm-infra/+/853027

Changed apiVersion of etcd cronjob from batch/v1beta to batch/v1 and fixed securityContext for etcd_backup.

Also bumping up HTK version to 0.2.48 from a commit id obtained from merge of https://review.opendev.org/c/openstack/openstack-helm-infra/+/853027 and set proper commit id in this file: tools/helm_tk.sh

Change-Id: Ie047dd0e6a2aae6483ace89cad22d6720890cdfc
2022-09-09 12:24:03 -05:00
Ruslan Aliev e207bbe966 k8s upgrade to v1.23.7
Address changes and deprecations in Kubernetes v1.21=>v1.23

controller-manager:
* --authorization-kubeconfig and --authentication-kubeconfig must be set
* liveness/readiness probes must use HTTPS
* the default port has been changed to 10257

kubelet:
* --dynamic-config-dir has been deprecated, will not move to GA
* --cni-bin-dir has been deprecated, will be removed with dockershim
* --cni-conf-dir has been deprecated, will be removed with dockershim
* --network-plugin has been deprecated, will be removed with dockershim

https: //github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.23.md#deprecation
https: //kubernetes.io/docs/tasks/administer-cluster/reconfigure-kubelet/
https: //github.com/kubernetes/enhancements/tree/master/keps/sig-node/281-dynamic-kubelet-configuration
Change-Id: Ia996d7c14d81d1d8b8067f11c02ffb4ce90eb49a
2022-06-29 00:21:45 -05:00
Lo, Chi (cl566n) dc60ef8454 Removing set -x from function
Removing set -x from within the dump_databases_to_directory function.
The set -x from within the function is causing all the code that
follows the function call to have debug tracing on. This in turns
causing multiple identical logs for the same event. Looking at this
function, there should be enough logging to aid debugging.

Reference ps:  https://review.opendev.org/c/openstack/openstack-helm-infra/+/830533
               (commit 2fc1ce4a142e605a9fc6c90dceabbf7c4bfb81e3)

Change-Id: Id442972bbcca983afab7c4f3c29f3686e9e0b481
2022-02-24 18:54:54 +00:00
Sophie Huang 257ed54ddb Uplift HTK stable commit (db-backup-restore)
1) Uplift helm-toolkit to include db-backup-restore error log string
   prefixes for the generation of alert

   https://review.opendev.org/c/openstack/openstack-helm-infra/+/823867

2) Error log string prefixes are added to etcd backup-restore as well

Change-Id: Iad51a3e55567d0861140a97c17a1b7d859e13938
2022-01-12 21:23:06 +00:00
Phil Sphicas e14854bb3e Update HTK stable commit (Ingress)
Update helm-toolkit to include updated Ingress templates that use
current API versions (i.e. networking.k8s.io/v1)

https://review.opendev.org/c/openstack/openstack-helm-infra/+/813115

Change-Id: I5e1cfae7bffb6d061ecc319e6a6ffa5f777ec866
2021-10-18 11:53:58 -07:00
Sean Eagan 2f823c69d2 Helm 3: Fix Job labels
See the dependency below for details.

Depends-On: https://review.opendev.org/c/openstack/openstack-helm-infra/+/811826
Change-Id: Ib7730c5cbcaa95dab615baac1efda310e5a52fcc
2021-10-06 13:18:43 +00:00
Sean Eagan 9d696ca0a4 Use helm 3 in chart build
`helm serve` is removed in helm 3 so this moves
to using local `file://` dependencies [0] instead.

[0]: https://helm.sh/docs/chart_best_practices/dependencies/#repository-urls

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: Ia45c57e0cccac477f6ff59a254d03d6fcec14bef
2021-09-30 16:57:05 -05:00
Neely, Travis (tn720x) 41813cc110 Update HTK commit ID for etcd backup/restore framework
Include the fix in [0] for db backup/restore for automatic retries

[0] https://review.opendev.org/c/openstack/openstack-helm-infra/+/811038

Change-Id: I1d40113913390cb1a3aa60cefb3442c5463c5f92
2021-09-27 11:22:38 -05:00
Ansuman Bebarta 10daabee73 Uplift HTK to latest
The purpose of uplift to include fix related to backup/restore
retry to send to remote.

Change-Id: Ie6eb2b350163c2856459a16381d6ba3daf3cc8a2
2021-07-28 14:24:02 +00:00
Phil Sphicas f29d6df68f Ignore upstream chart repos when installing Helm
The upstream Helm chart repos have moved permanently, causing a failure
when running "make helm-serve": 'Error: error initializing: Looks like
"https://kubernetes-charts.storage.googleapis.com" is not a valid chart
repository or cannot be reached'.

This change skips the chart refresh, since the upstream charts are not
used anyway.

Change-Id: Ia55b7f48ce03d1ecf9a26181fea0ab159e99c8a5
2021-01-07 19:09:26 +00:00
Parsons, Cliff (cp769u) 922e3b2ecf Uplift HTK for etcd backup/restore delete archive capability
This patch includes the upstream helm toolkit change below which adds
the capability to delete an archive from the local or remote data stores.

https://review.opendev.org/#/c/758859/
(commit 2d1fe882bb751c03ee741a6166c9c8a5fad8f926)

Change-Id: Iec3f234f5be780bd90d233b1cba58d11127d5d28
2020-10-28 20:35:10 +00:00
Huang, Sophie (sh879n) d365ab873b Uplift HTK for etcd backup/restore framework
Include below patchset to make database backups work with
openstack Train release.

https://review.opendev.org/#/c/754831

Change-Id: I8004ac8320f02bb0acbf0edd9caa9520a94aada1
2020-09-30 14:04:02 +00:00
anthony.bellino 00691b0a4d Update HTK commit ID for etcd backup/restore framework
Include fix [0] to add namespace to error logs generated.

[0] https://review.opendev.org/#/c/741548

Change-Id: I1d3ab8be54f6a4de001d79ed1fd6297523042cd6
2020-07-17 12:47:59 -07:00
anthony.bellino cb4ae15eb1 Updating HTK commit ID for etcd backup/restore
Include fix [0] return code when remote rgw fails.
Moving set -x in backup/restore.tpl below the source
of the framework code to reduce debug output.

[0] https://review.opendev.org/#/c/738665/

Change-Id: If9b7b317dff439ecb293d9837cac256884c53c6a
2020-07-08 17:37:54 +00:00
anthony.bellino 95c1689e03 ETCD remote backup enhancements
1) Include framework for remote etcd backups.
2) Use porthole etcdctl utility image for backups.
3) Move helm-toolkit pin to latest commit.
4) Add a keystone user for RGW.
5) Add a secret for Swift API access.
6) Add a secret for backup/restore configuration.

Change-Id: Ica549c3b6bc00ca55540b8ffedd4c46af0d8d25e
2020-06-29 23:34:50 +00:00
Sean Eagan 5b2fec3b64 tools: Move helm-toolkit pin to latest commit
Change-Id: Ic44fc17e39e688de7a5bc611c8e26f4f4d44bad0
2019-11-18 11:11:04 -06:00
Drew Walters 98ca9d42a0 tools: Move helm-toolkit pin to latest commit
This change updates the helm-toolkit version used to build the Promenade
chart in order to introduce a change that removes use of the echo binary
from the Kubernetes entrypoint init container [0]. This is required in
order to use the new Kubernetes entrypoint image, which does not include
the binary.

[0] https://review.opendev.org/688435

Change-Id: I581edca0396896dd4f9e645a9663458591da52d9
Signed-off-by: Drew Walters <andrew.walters@att.com>
2019-10-21 14:54:36 +00:00
rajesh.kudaka 490dd63c2c Enable probes config for etcd
This commit enables configuration of probes
for etcd pod by manipulating/overriding values in
values.yaml or through manifests.

Change-Id: I69eabd13f8ea8b97a33281ad993ec2e88b9280bc
2019-08-09 09:28:47 +00:00
Drew Walters c178634b89 tools: Update Helm to v2.13.1
Helm v2.13.1 has been released [0]. This change uplifts Helm to v2.13.1
and restores usage of the latest Helm toolkit to match other Airship
projects.

[0] https://github.com/helm/helm/releases/tag/v2.13.1

Depends-On: https://review.openstack.org/647812
Change-Id: I4299a8736e0cedf7b15950614a4d72fcfd893a2d
2019-03-28 15:22:05 +00:00
Sean Eagan c3d4a464cb build: support helm-toolkit pinning
This pins the version of helm-toolkit used in the build due to
a breaking change in helm-toolkit.

Once helm 2.13.1 is released with this fix [0] we can update to use
it, and update the helm-toolkit pin to "master".

[0]: https://github.com/helm/helm/pull/5411

Change-Id: I827f1145c6d670cc955b82155455455a4f3ca486
2019-03-12 11:58:24 -05:00
Scott Hussey 59a03d5997 (zuul) Add basic gating
- Add gate for PEP8 linting
- Add gate for Helm chart linting
- Add gate for Bandit security scanning
- Add gate for document generation
- Add gate for unit tests

Change-Id: I7a9358a021dd3268eeede134fbcd68f791b83472
2018-06-01 08:48:42 -05:00
Anthony Lin 8060aa9783 Update HTK Path - OSH Infra
Updated configurations to point to openstack-helm-infra
for reference to helm-toolkit as helm-toolkit has been
removed from the openstack-helm repo [0]

Also aligned with changes to the keystone user set up in
OSH using Helm ToolKit so as to get pass Helm Lint.

[0] https://review.openstack.org/#/c/558065/

Change-Id: I10645c907565df4fd7920ae6ef0615348517f969
2018-05-15 13:47:51 +00:00
Mark Burnett 4d7df8610a Fix: revert to openstack-helm/helm-toolkit
openstack-helm-infra/helm-toolkit is not yet ready.  This:

* Removes references to openstack-helm-infra in examples and tests.
* Eliminates unneeded project tmp directory.

Change-Id: If2dfca60bea13f30124ddb82838ff0f4097c21be
2017-11-02 10:16:28 -05:00
Anthony Lin de78dc99ae Trivial Fix for helm_tk.sh
The folder name should be 'openstack-helm-infra' instead of
'openstack-helm'

Change-Id: Ib1ef1a6e00ae4224f7649f05a671933d10eb84f7
2017-11-01 00:33:20 +00:00
Mark Burnett b09c69a18a Add initial Makefile
This add target a target for building and linting charts.

Change-Id: Ie349436d8bf50929e26ed43cc53fdc599a2acd9d
2017-10-31 12:46:23 -05:00