aedbb8aa0c
This commit is rebasing on upstream commit 7803000a545687ec40b0ddc41d46a6b377dea45f and also remove some patches that were already merged. This change depends on the rebase of openstack-helm-infra made at01f6571912
Patch 0005-Nova-Add-support-for-disabling-Readiness-Liveness-pr.patch This patch was dropped because a feature that add this support was implemented in 2020. It can be found on commitaf4e2aaadd
Patch 0007-Allow-more-generic-overrides-for-placeme.patch Changes that this patch applies were already applied on commitbdbea96326
Patch 0009-Disabling-helm3_hook.patch Adding a helm3_hook in values.yaml file in case hooks needs to be disabled Patch 0011-Trust-public-ingress-certificate.patch Removed in favor of using the openstack-helm implementation of tls support. As we are dropping this patch we moved the changes to the patch where the job is created. Commits can be found on https://opendev.org/openstack/openstack-helm/commits/branch/master/search?q=feat%28tls%29 Patch 0012-Update-helm-tookit-dependencies-to-0.2.19.patch Changes that this patch applies were already applied on commit20b6b9a236
Due to changes implemented on054affa290 (diff-9bd79f0fd832cb30fa4f4b6242b9059fbc0c81b30541b4243ff29cdf39bce621R63)
python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/cinder.py needed to be modified so the system overrides for the ceph client matches the name of the internal ceph cluster we that StarlingX creates and the deployment-cinder.yaml renders without issues. We've change the endpoints on nova-api-proxy/templates/deployment.yaml as in upstream openstack-helm deals with TLS internally, however in starlingx there is a workaround that forces public endpoint for openstack services. Although after some changes on openstack-helm that came with this rebase and using cert-manager to generate all tls internal secrets we dont need to do this anymore. The volume mounts for dev-pts at python-k8sapp-openstack/k8sapp_openstack/k8sapp_openstack/helm/nova.py were removed since this problem was fixed upstream on04d600c5b0
Story: 2009161 Task: 43150 Change-Id: Iaf7d4bf9aa80e1d5acacdfe24743d41d4e67a8c0 Signed-off-by: Arthur Luz de Avila <arthur.luzdeavila@windriver.com> Signed-off-by: Lucas Cavalcante <lucasmedeiros.cavalcante@windriver.com> Change-Id: Iaf7d4bf9aa80e1d5acacdfe24743d41d4e67a8c0
131 lines
3.4 KiB
Diff
131 lines
3.4 KiB
Diff
198597ee329c4c205f8852779e6a49 Mon Sep 17 00:00:00 2001
|
|
From: Thiago Brito <thiago.brito@windriver.com>
|
|
Date: Mon, 4 Oct 2021 10:04:21 -0300
|
|
Subject: [PATCH] Disabling helm3_hook
|
|
|
|
Since openstack-helm now defaults to use helmv3 hooks, this
|
|
changes disables it to maintain compatibility with the helm
|
|
version in use on StarlingX.
|
|
|
|
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
|
|
Change-Id: I2a343805be2bb20f39b2dd8cc8d2e8716961ea28
|
|
---
|
|
barbican/values.yaml | 2 +-
|
|
cinder/values.yaml | 2 +-
|
|
glance/values.yaml | 2 +-
|
|
heat/values.yaml | 2 +-
|
|
keystone/values.yaml | 2 +-
|
|
neutron/values.yaml | 2 +-
|
|
nova/values.yaml | 2 +-
|
|
placement/values.yaml | 2 +-
|
|
8 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/barbican/values.yaml b/barbican/values.yaml
|
|
index 72efd88c..44d3b76b 100644
|
|
--- a/barbican/values.yaml
|
|
+++ b/barbican/values.yaml
|
|
@@ -31,7 +31,7 @@ release_group: null
|
|
|
|
# NOTE(philsphicas): the pre-install hook breaks upgrade for helm2
|
|
# Set to false to upgrade using helm2
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
images:
|
|
tags:
|
|
diff --git a/cinder/values.yaml b/cinder/values.yaml
|
|
index a70ed72a..30a2e47a 100644
|
|
--- a/cinder/values.yaml
|
|
+++ b/cinder/values.yaml
|
|
@@ -1516,7 +1516,7 @@ network_policy:
|
|
|
|
# NOTE(helm_hook): helm_hook might break for helm2 binary.
|
|
# set helm3_hook: false when using the helm2 binary.
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
manifests:
|
|
certificates: false
|
|
diff --git a/glance/values.yaml b/glance/values.yaml
|
|
index a03a69a1..459f04bc 100644
|
|
--- a/glance/values.yaml
|
|
+++ b/glance/values.yaml
|
|
@@ -1052,7 +1052,7 @@ pod:
|
|
|
|
# NOTE(helm_hook): helm_hook might break for helm2 binary.
|
|
# set helm3_hook: false when using the helm2 binary.
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
manifests:
|
|
certificates: false
|
|
diff --git a/heat/values.yaml b/heat/values.yaml
|
|
index 58f786b6..9e9ea64b 100644
|
|
--- a/heat/values.yaml
|
|
+++ b/heat/values.yaml
|
|
@@ -1293,7 +1293,7 @@ network_policy:
|
|
|
|
# NOTE(helm_hook): helm_hook might break for helm2 binary.
|
|
# set helm3_hook: false when using the helm2 binary.
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
manifests:
|
|
certificates: false
|
|
diff --git a/keystone/values.yaml b/keystone/values.yaml
|
|
index ff4493f3..84b8fe48 100644
|
|
--- a/keystone/values.yaml
|
|
+++ b/keystone/values.yaml
|
|
@@ -31,7 +31,7 @@ release_group: null
|
|
|
|
# NOTE(gagehugo): the pre-install hook breaks upgrade for helm2
|
|
# Set to false to upgrade using helm2
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
images:
|
|
tags:
|
|
diff --git a/neutron/values.yaml b/neutron/values.yaml
|
|
index c72a55b5..6073c6a3 100644
|
|
--- a/neutron/values.yaml
|
|
+++ b/neutron/values.yaml
|
|
@@ -2514,7 +2514,7 @@ network_policy:
|
|
egress:
|
|
- {}
|
|
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
manifests:
|
|
certificates: false
|
|
diff --git a/nova/values.yaml b/nova/values.yaml
|
|
index 6b51b3d5..56f1dc9a 100644
|
|
--- a/nova/values.yaml
|
|
+++ b/nova/values.yaml
|
|
@@ -2563,7 +2563,7 @@ network_policy:
|
|
|
|
# NOTE(helm_hook): helm_hook might break for helm2 binary.
|
|
# set helm3_hook: false when using the helm2 binary.
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
manifests:
|
|
certificates: false
|
|
diff --git a/placement/values.yaml b/placement/values.yaml
|
|
index 57d9eb48..2811b200 100644
|
|
--- a/placement/values.yaml
|
|
+++ b/placement/values.yaml
|
|
@@ -485,7 +485,7 @@ dependencies:
|
|
|
|
# NOTE(helm_hook): helm_hook might break for helm2 binary.
|
|
# set helm3_hook: false when using the helm2 binary.
|
|
-helm3_hook: true
|
|
+helm3_hook: false
|
|
|
|
manifests:
|
|
certificates: false
|
|
--
|
|
2.17.1
|
|
|
|
|