chore: Abandon 892704 patch
diff --git a/charts/barbican/templates/configmap-etc.yaml b/charts/barbican/templates/configmap-etc.yaml
index 37cfe5b..d9323e0 100644
--- a/charts/barbican/templates/configmap-etc.yaml
+++ b/charts/barbican/templates/configmap-etc.yaml
@@ -49,11 +49,6 @@
{{- $_ := set .Values.conf.barbican.keystone_authtoken "memcache_secret_key" ( default ( randAlphaNum 64 ) .Values.endpoints.oslo_cache.auth.memcache_secret_key ) -}}
{{- end -}}
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.barbican.DEFAULT "api_paste_config" "/var/lib/openstack/etc/barbican/barbican-api-paste.ini" -}}
-{{- $_ := set $envAll.Values.conf.barbican_api.uwsgi "paste" "config:/var/lib/openstack/etc/barbican/barbican-api-paste.ini" -}}
-{{- end }}
-
{{- if empty .Values.conf.barbican.DEFAULT.sql_connection -}}
{{- $connection := tuple "oslo_db" "internal" "barbican" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" -}}
{{- if .Values.manifests.certificates -}}
@@ -101,9 +96,7 @@
data:
barbican.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.barbican | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
- {{- if .Values.conf.paste }}
barbican-api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
api_audit_map.conf: {{ include "helm-toolkit.utils.to_ini" .Values.conf.audit_map | b64enc }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
barbican-api.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.barbican_api | b64enc }}
diff --git a/charts/barbican/templates/deployment-api.yaml b/charts/barbican/templates/deployment-api.yaml
index 3ecf624..4e281d9 100644
--- a/charts/barbican/templates/deployment-api.yaml
+++ b/charts/barbican/templates/deployment-api.yaml
@@ -106,12 +106,10 @@
mountPath: /etc/barbican/api_audit_map.conf
subPath: api_audit_map.conf
readOnly: true
- {{- if .Values.conf.paste }}
- name: barbican-etc
mountPath: /etc/barbican/barbican-api-paste.ini
subPath: barbican-api-paste.ini
readOnly: true
- {{- end }}
- name: barbican-etc
mountPath: /etc/barbican/policy.yaml
subPath: policy.yaml
diff --git a/charts/barbican/values.yaml b/charts/barbican/values.yaml
index 1f30742..09e2198 100644
--- a/charts/barbican/values.yaml
+++ b/charts/barbican/values.yaml
@@ -290,7 +290,49 @@
service: oslo_messaging
conf:
- paste: {}
+ paste:
+ composite:main:
+ use: egg:Paste#urlmap
+ /: barbican_version
+ /v1: barbican-api-keystone
+ pipeline:barbican_version:
+ pipeline: cors http_proxy_to_wsgi versionapp
+ pipeline:barbican_api:
+ pipeline: cors http_proxy_to_wsgi unauthenticated-context apiapp
+ pipeline:barbican-profile:
+ pipeline: cors http_proxy_to_wsgi unauthenticated-context egg:Paste#cgitb egg:Paste#httpexceptions profile apiapp
+ pipeline:barbican-api-keystone:
+ pipeline: cors http_proxy_to_wsgi authtoken context apiapp
+ pipeline:barbican-api-keystone-audit:
+ pipeline: http_proxy_to_wsgi authtoken context audit apiapp
+ app:apiapp:
+ paste.app_factory: barbican.api.app:create_main_app
+ app:versionapp:
+ paste.app_factory: barbican.api.app:create_version_app
+ filter:simple:
+ paste.filter_factory: barbican.api.middleware.simple:SimpleFilter.factory
+ filter:unauthenticated-context:
+ paste.filter_factory: barbican.api.middleware.context:UnauthenticatedContextMiddleware.factory
+ filter:context:
+ paste.filter_factory: barbican.api.middleware.context:ContextMiddleware.factory
+ filter:audit:
+ paste.filter_factory: keystonemiddleware.audit:filter_factory
+ audit_map_file: /etc/barbican/api_audit_map.conf
+ filter:authtoken:
+ paste.filter_factory: keystonemiddleware.auth_token:filter_factory
+ filter:profile:
+ use: egg:repoze.profile
+ log_filename: myapp.profile
+ cachegrind_filename: cachegrind.out.myapp
+ discard_first_request: true
+ path: /__profile__
+ flush_at_shutdown: true
+ unwind: false
+ filter:cors:
+ paste.filter_factory: oslo_middleware.cors:filter_factory
+ oslo_config_project: barbican
+ filter:http_proxy_to_wsgi:
+ paste.filter_factory: oslo_middleware:HTTPProxyToWSGI.factory
policy: {}
audit_map:
DEFAULT:
diff --git a/charts/cinder/templates/configmap-etc.yaml b/charts/cinder/templates/configmap-etc.yaml
index 452883b..5010ab9 100644
--- a/charts/cinder/templates/configmap-etc.yaml
+++ b/charts/cinder/templates/configmap-etc.yaml
@@ -72,10 +72,6 @@
{{- $_ := set $envAll.Values.conf.cinder.nova "password" $envAll.Values.endpoints.identity.auth.cinder.password -}}
{{- end -}}
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.cinder.DEFAULT "api_paste_config" "/var/lib/openstack/etc/cinder/api-paste.ini" -}}
-{{- end }}
-
{{- if empty .Values.conf.cinder.database.connection -}}
{{- $connection := tuple "oslo_db" "internal" "cinder" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" -}}
{{- if .Values.manifests.certificates -}}
@@ -171,9 +167,7 @@
cinder.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.cinder | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
backends.conf: {{ include "helm-toolkit.utils.to_ini" .Values.conf.backends | b64enc }}
- {{- if .Values.conf.paste }}
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
{{- if .Values.manifests.certificates }}
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.mpm_event "key" "mpm_event.conf" "format" "Secret" ) | indent 2 }}
diff --git a/charts/cinder/templates/deployment-api.yaml b/charts/cinder/templates/deployment-api.yaml
index 4416022..8ef5754 100644
--- a/charts/cinder/templates/deployment-api.yaml
+++ b/charts/cinder/templates/deployment-api.yaml
@@ -128,12 +128,10 @@
subPath: {{ base .Values.conf.cinder.DEFAULT.log_config_append }}
readOnly: true
{{- end }}
- {{- if .Values.conf.paste }}
- name: cinder-etc
mountPath: /etc/cinder/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: cinder-etc
mountPath: /etc/cinder/policy.yaml
subPath: policy.yaml
diff --git a/charts/cinder/templates/deployment-scheduler.yaml b/charts/cinder/templates/deployment-scheduler.yaml
index 875f6ca..cf69dd1 100644
--- a/charts/cinder/templates/deployment-scheduler.yaml
+++ b/charts/cinder/templates/deployment-scheduler.yaml
@@ -95,12 +95,10 @@
subPath: {{ base .Values.conf.cinder.DEFAULT.log_config_append }}
readOnly: true
{{- end }}
- {{- if .Values.conf.paste }}
- name: cinder-etc
mountPath: /etc/cinder/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: cinder-etc
mountPath: /etc/cinder/policy.yaml
subPath: policy.yaml
diff --git a/charts/cinder/values.yaml b/charts/cinder/values.yaml
index 4fa8418..07adee1 100644
--- a/charts/cinder/values.yaml
+++ b/charts/cinder/values.yaml
@@ -433,7 +433,60 @@
global: null
osd: null
conf:
- paste: {}
+ paste:
+ composite:osapi_volume:
+ use: call:cinder.api:root_app_factory
+ /: apiversions
+ /v1: openstack_volume_api_v1
+ /v2: openstack_volume_api_v2
+ /v3: openstack_volume_api_v3
+ composite:openstack_volume_api_v1:
+ use: call:cinder.api.middleware.auth:pipeline_factory
+ noauth: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv1
+ keystone: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv1
+ keystone_nolimit: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv1
+ composite:openstack_volume_api_v2:
+ use: call:cinder.api.middleware.auth:pipeline_factory
+ noauth: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv2
+ keystone: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv2
+ keystone_nolimit: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv2
+ composite:openstack_volume_api_v3:
+ use: call:cinder.api.middleware.auth:pipeline_factory
+ noauth: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv3
+ keystone: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv3
+ keystone_nolimit: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv3
+ filter:request_id:
+ paste.filter_factory: oslo_middleware.request_id:RequestId.factory
+ filter:http_proxy_to_wsgi:
+ paste.filter_factory: oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory
+ filter:cors:
+ paste.filter_factory: oslo_middleware.cors:filter_factory
+ oslo_config_project: cinder
+ filter:faultwrap:
+ paste.filter_factory: cinder.api.middleware.fault:FaultWrapper.factory
+ filter:osprofiler:
+ paste.filter_factory: osprofiler.web:WsgiMiddleware.factory
+ filter:noauth:
+ paste.filter_factory: cinder.api.middleware.auth:NoAuthMiddleware.factory
+ filter:sizelimit:
+ paste.filter_factory: oslo_middleware.sizelimit:RequestBodySizeLimiter.factory
+ app:apiv1:
+ paste.app_factory: cinder.api.v1.router:APIRouter.factory
+ app:apiv2:
+ paste.app_factory: cinder.api.v2.router:APIRouter.factory
+ app:apiv3:
+ paste.app_factory: cinder.api.v3.router:APIRouter.factory
+ pipeline:apiversions:
+ pipeline: cors http_proxy_to_wsgi faultwrap osvolumeversionapp
+ app:osvolumeversionapp:
+ paste.app_factory: cinder.api.versions:Versions.factory
+ filter:keystonecontext:
+ paste.filter_factory: cinder.api.middleware.auth:CinderKeystoneContext.factory
+ filter:authtoken:
+ paste.filter_factory: keystonemiddleware.auth_token:filter_factory
+ filter:audit:
+ paste.filter_factory: keystonemiddleware.audit:filter_factory
+ audit_map_file: /etc/cinder/api_audit_map.conf
policy: {}
api_audit_map:
DEFAULT:
diff --git a/charts/designate/charts/helm-toolkit/Chart.yaml b/charts/designate/charts/helm-toolkit/Chart.yaml
index 7d3703e..e6aec81 100644
--- a/charts/designate/charts/helm-toolkit/Chart.yaml
+++ b/charts/designate/charts/helm-toolkit/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/openstack-helm-infra
- https://opendev.org/openstack/openstack-helm
-version: 0.2.53
+version: 0.2.54
diff --git a/charts/designate/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl b/charts/designate/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
index b99c00d..4a88dd8 100644
--- a/charts/designate/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
+++ b/charts/designate/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
@@ -27,10 +27,12 @@
{{- else if kindIs "slice" $dependencyMixinParam }}
{{- $_ := set $envAll.Values "__deps" ( index $envAll.Values.dependencies.static $dependencyKey ) }}
{{- range $k, $v := $dependencyMixinParam -}}
+{{- if ( index $envAll.Values.dependencies.dynamic.targeted $v ) }}
{{- $_ := include "helm-toolkit.utils.merge" (tuple $envAll.Values.pod_dependency $envAll.Values.__deps ( index $envAll.Values.dependencies.dynamic.targeted $v $dependencyKey ) ) -}}
{{- $_ := set $envAll.Values "__deps" $envAll.Values.pod_dependency -}}
{{- end }}
{{- end }}
+{{- end }}
{{- else -}}
{{- $_ := set $envAll.Values "pod_dependency" ( index $envAll.Values.dependencies.static $dependencyKey ) -}}
{{- end -}}
diff --git a/charts/designate/requirements.lock b/charts/designate/requirements.lock
index 84c71f2..1cb524c 100644
--- a/charts/designate/requirements.lock
+++ b/charts/designate/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
- version: 0.2.53
-digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-08-03T12:05:31.851998586Z"
+ version: 0.2.54
+digest: sha256:337a0f1ffb3eae591150b305c22293d85fb8c18abec78f56672de4f3ada2faae
+generated: "2023-09-01T14:09:16.797961736Z"
diff --git a/charts/designate/templates/configmap-etc.yaml b/charts/designate/templates/configmap-etc.yaml
index 1147959..dd1d4a2 100644
--- a/charts/designate/templates/configmap-etc.yaml
+++ b/charts/designate/templates/configmap-etc.yaml
@@ -53,10 +53,6 @@
{{- $_ := set .Values.conf.designate.keystone_authtoken "memcache_secret_key" ( default ( randAlphaNum 64 ) .Values.endpoints.oslo_cache.auth.memcache_secret_key ) -}}
{{- end -}}
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.designate.DEFAULT "api_paste_config" "/var/lib/openstack/etc/designate/api-paste.ini" -}}
-{{- end }}
-
{{- if empty (index .Values.conf.designate "storage:sqlalchemy").connection -}}
{{- $_ := tuple "oslo_db" "internal" "designate" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set (index .Values.conf.designate "storage:sqlalchemy") "connection" -}}
{{- $_ := tuple "oslo_db" "internal" "designate" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set .Values.conf.designate.database "connection" -}}
@@ -77,9 +73,7 @@
type: Opaque
data:
designate.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.designate | b64enc }}
- {{- if .Values.conf.paste }}
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.pools "key" "pools.yaml" "format" "Secret" ) | indent 2 }}
diff --git a/charts/designate/templates/deployment-api.yaml b/charts/designate/templates/deployment-api.yaml
index 00aa23a..b6680d8 100644
--- a/charts/designate/templates/deployment-api.yaml
+++ b/charts/designate/templates/deployment-api.yaml
@@ -84,12 +84,10 @@
mountPath: /etc/designate/designate.conf
subPath: designate.conf
readOnly: true
- {{- if .Values.conf.paste }}
- name: designate-etc
mountPath: /etc/designate/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: designate-etc
mountPath: /etc/designate/policy.yaml
subPath: policy.yaml
diff --git a/charts/designate/templates/deployment-central.yaml b/charts/designate/templates/deployment-central.yaml
index 9790caf..02d9f3c 100644
--- a/charts/designate/templates/deployment-central.yaml
+++ b/charts/designate/templates/deployment-central.yaml
@@ -69,12 +69,10 @@
mountPath: /etc/designate/designate.conf
subPath: designate.conf
readOnly: true
- {{- if .Values.conf.paste }}
- name: designate-etc
mountPath: /etc/designate/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: designate-etc
mountPath: /etc/designate/policy.yaml
subPath: policy.yaml
diff --git a/charts/designate/templates/deployment-mdns.yaml b/charts/designate/templates/deployment-mdns.yaml
index 825fa38..d58f630 100644
--- a/charts/designate/templates/deployment-mdns.yaml
+++ b/charts/designate/templates/deployment-mdns.yaml
@@ -80,12 +80,10 @@
mountPath: /etc/designate/designate.conf
subPath: designate.conf
readOnly: true
- {{- if .Values.conf.paste }}
- name: designate-etc
mountPath: /etc/designate/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: designate-etc
mountPath: /etc/designate/policy.yaml
subPath: policy.yaml
diff --git a/charts/designate/templates/deployment-producer.yaml b/charts/designate/templates/deployment-producer.yaml
index 553a0c4..491dbad 100644
--- a/charts/designate/templates/deployment-producer.yaml
+++ b/charts/designate/templates/deployment-producer.yaml
@@ -69,12 +69,10 @@
mountPath: /etc/designate/designate.conf
subPath: designate.conf
readOnly: true
- {{- if .Values.conf.paste }}
- name: designate-etc
mountPath: /etc/designate/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: designate-etc
mountPath: /etc/designate/policy.yaml
subPath: policy.yaml
diff --git a/charts/designate/templates/deployment-worker.yaml b/charts/designate/templates/deployment-worker.yaml
index 4b4ae3c..74f9c99 100644
--- a/charts/designate/templates/deployment-worker.yaml
+++ b/charts/designate/templates/deployment-worker.yaml
@@ -94,12 +94,10 @@
mountPath: /etc/designate/designate.conf
subPath: designate.conf
readOnly: true
- {{- if .Values.conf.paste }}
- name: designate-etc
mountPath: /etc/designate/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: designate-etc
mountPath: /etc/designate/policy.yaml
subPath: policy.yaml
diff --git a/charts/designate/values.yaml b/charts/designate/values.yaml
index 5f85acf..1892dd2 100644
--- a/charts/designate/values.yaml
+++ b/charts/designate/values.yaml
@@ -396,7 +396,51 @@
port: {{ tuple "powerdns" "internal" "powerdns" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
api_endpoint: http://${POWERDNS_SERVICE_HOST}:{{ tuple "powerdns" "internal" "powerdns_api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
api_token: {{ tuple "powerdns" "service" . | include "helm-toolkit.endpoints.endpoint_token_lookup" }}
- paste: {}
+ paste:
+ composite:osapi_dns:
+ use: egg:Paste#urlmap
+ /: osapi_dns_versions
+ /v2: osapi_dns_v2
+ /admin: osapi_dns_admin
+ composite:osapi_dns_versions:
+ use: call:designate.api.middleware:auth_pipeline_factory
+ noauth: http_proxy_to_wsgi cors maintenance faultwrapper osapi_dns_app_versions
+ keystone: http_proxy_to_wsgi cors maintenance faultwrapper osapi_dns_app_versions
+ app:osapi_dns_app_versions:
+ paste.app_factory: designate.api.versions:factory
+ composite:osapi_dns_v2:
+ use: call:designate.api.middleware:auth_pipeline_factory
+ noauth: http_proxy_to_wsgi cors request_id faultwrapper validation_API_v2 noauthcontext maintenance normalizeuri osapi_dns_app_v2
+ keystone: http_proxy_to_wsgi cors request_id faultwrapper validation_API_v2 authtoken keystonecontext maintenance normalizeuri osapi_dns_app_v2
+ app:osapi_dns_app_v2:
+ paste.app_factory: designate.api.v2:factory
+ composite:osapi_dns_admin:
+ use: call:designate.api.middleware:auth_pipeline_factory
+ noauth: http_proxy_to_wsgi cors request_id faultwrapper noauthcontext maintenance normalizeuri osapi_dns_app_admin
+ keystone: http_proxy_to_wsgi cors request_id faultwrapper authtoken keystonecontext maintenance normalizeuri osapi_dns_app_admin
+ app:osapi_dns_app_admin:
+ paste.app_factory: designate.api.admin:factory
+ filter:cors:
+ paste.filter_factory: oslo_middleware.cors:filter_factory
+ oslo_config_project: designate
+ filter:request_id:
+ paste.filter_factory: oslo_middleware:RequestId.factory
+ filter:http_proxy_to_wsgi:
+ paste.filter_factory: oslo_middleware:HTTPProxyToWSGI.factory
+ filter:noauthcontext:
+ paste.filter_factory: designate.api.middleware:NoAuthContextMiddleware.factory
+ filter:authtoken:
+ paste.filter_factory: keystonemiddleware.auth_token:filter_factory
+ filter:keystonecontext:
+ paste.filter_factory: designate.api.middleware:KeystoneContextMiddleware.factory
+ filter:maintenance:
+ paste.filter_factory: designate.api.middleware:MaintenanceMiddleware.factory
+ filter:normalizeuri:
+ paste.filter_factory: designate.api.middleware:NormalizeURIMiddleware.factory
+ filter:faultwrapper:
+ paste.filter_factory: designate.api.middleware:FaultWrapperMiddleware.factory
+ filter:validation_API_v2:
+ paste.filter_factory: designate.api.middleware:APIv2ValidationErrorMiddleware.factory
policy: {}
designate:
DEFAULT:
diff --git a/charts/glance/Chart.yaml b/charts/glance/Chart.yaml
index c0837b8..4d8a381 100644
--- a/charts/glance/Chart.yaml
+++ b/charts/glance/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/glance
- https://opendev.org/openstack/openstack-helm
-version: 0.4.6
+version: 0.4.12
diff --git a/charts/glance/charts/helm-toolkit/Chart.yaml b/charts/glance/charts/helm-toolkit/Chart.yaml
index 7d3703e..e6aec81 100644
--- a/charts/glance/charts/helm-toolkit/Chart.yaml
+++ b/charts/glance/charts/helm-toolkit/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/openstack-helm-infra
- https://opendev.org/openstack/openstack-helm
-version: 0.2.53
+version: 0.2.54
diff --git a/charts/glance/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl b/charts/glance/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
index b99c00d..4a88dd8 100644
--- a/charts/glance/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
+++ b/charts/glance/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
@@ -27,10 +27,12 @@
{{- else if kindIs "slice" $dependencyMixinParam }}
{{- $_ := set $envAll.Values "__deps" ( index $envAll.Values.dependencies.static $dependencyKey ) }}
{{- range $k, $v := $dependencyMixinParam -}}
+{{- if ( index $envAll.Values.dependencies.dynamic.targeted $v ) }}
{{- $_ := include "helm-toolkit.utils.merge" (tuple $envAll.Values.pod_dependency $envAll.Values.__deps ( index $envAll.Values.dependencies.dynamic.targeted $v $dependencyKey ) ) -}}
{{- $_ := set $envAll.Values "__deps" $envAll.Values.pod_dependency -}}
{{- end }}
{{- end }}
+{{- end }}
{{- else -}}
{{- $_ := set $envAll.Values "pod_dependency" ( index $envAll.Values.dependencies.static $dependencyKey ) -}}
{{- end -}}
diff --git a/charts/glance/requirements.lock b/charts/glance/requirements.lock
index 6f6d186..111851c 100644
--- a/charts/glance/requirements.lock
+++ b/charts/glance/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
- version: 0.2.53
-digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-05-28T07:16:28.255092886Z"
+ version: 0.2.54
+digest: sha256:337a0f1ffb3eae591150b305c22293d85fb8c18abec78f56672de4f3ada2faae
+generated: "2023-09-01T14:09:24.947846739Z"
diff --git a/charts/glance/templates/configmap-etc.yaml b/charts/glance/templates/configmap-etc.yaml
index 277cea4..0ee2606 100644
--- a/charts/glance/templates/configmap-etc.yaml
+++ b/charts/glance/templates/configmap-etc.yaml
@@ -55,10 +55,6 @@
{{- $_ := set .Values.conf.glance.keystone_authtoken "memcache_secret_key" ( default ( randAlphaNum 64 ) .Values.endpoints.oslo_cache.auth.memcache_secret_key ) -}}
{{- end -}}
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.glance.paste_deploy "config_file" "/var/lib/openstack/etc/glance/glance-api-paste.ini" -}}
-{{- end }}
-
{{- if empty .Values.conf.glance.database.connection -}}
{{- $connection := tuple "oslo_db" "internal" "glance" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" -}}
{{- if .Values.manifests.certificates -}}
@@ -146,9 +142,7 @@
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
glance-api.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.glance | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
- {{- if .Values.conf.paste }}
glance-api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
api_audit_map.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.api_audit_map | b64enc }}
glance_sudoers: {{ $envAll.Values.conf.glance_sudoers | b64enc }}
diff --git a/charts/glance/templates/deployment-api.yaml b/charts/glance/templates/deployment-api.yaml
index dc641c5..bfe0049 100644
--- a/charts/glance/templates/deployment-api.yaml
+++ b/charts/glance/templates/deployment-api.yaml
@@ -12,6 +12,36 @@
limitations under the License.
*/}}
+{{- define "readinessProbeTemplate" }}
+{{- if .Values.manifests.certificates }}
+exec:
+ command:
+ - python
+ - -c
+ - "import requests; requests.get('http://127.0.0.1:{{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}')"
+{{- else }}
+httpGet:
+ scheme: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }}
+ path: /
+ port: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
+{{- end }}
+{{- end }}
+
+{{- define "livenessProbeTemplate" }}
+{{- if .Values.manifests.certificates }}
+exec:
+ command:
+ - python
+ - -c
+ - "import requests; requests.get('http://127.0.0.1:{{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}')"
+{{- else }}
+httpGet:
+ scheme: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }}
+ path: /
+ port: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
+{{- end }}
+{{- end }}
+
{{- if .Values.manifests.deployment_api }}
{{- $envAll := . }}
@@ -146,6 +176,8 @@
{{ tuple $envAll "glance_api" | include "helm-toolkit.snippets.image" | indent 10 }}
{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
{{ dict "envAll" $envAll "application" "glance" "container" "glance_api" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
+{{ dict "envAll" $envAll "component" "api" "container" "glance-api" "type" "readiness" "probeTemplate" (include "readinessProbeTemplate" $envAll | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }}
+{{ dict "envAll" $envAll "component" "api" "container" "glance-api" "type" "liveness" "probeTemplate" (include "livenessProbeTemplate" $envAll | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }}
command:
- /tmp/glance-api.sh
- start
@@ -160,34 +192,10 @@
command:
- /tmp/glance-api.sh
- stop
- {{- if $envAll.Values.manifests.certificates }}
- readinessProbe:
- exec:
- command:
- - python
- - -c
- - "import requests; requests.get('http://127.0.0.1:{{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}')"
- livenessProbe:
- exec:
- command:
- - python
- - -c
- - "import requests; requests.get('http://127.0.0.1:{{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}')"
- initialDelaySeconds: 30
- {{- else }}
+ {{- if not $envAll.Values.manifests.certificates }}
ports:
- name: g-api
containerPort: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
- readinessProbe:
- httpGet:
- scheme: HTTP
- path: /
- port: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
- livenessProbe:
- httpGet:
- scheme: HTTP
- path: /
- port: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- end }}
volumeMounts:
- name: pod-tmp
@@ -210,12 +218,10 @@
subPath: {{ base .Values.conf.glance.DEFAULT.log_config_append }}
readOnly: true
{{- end }}
- {{- if .Values.conf.paste }}
- name: glance-etc
mountPath: /etc/glance/glance-api-paste.ini
subPath: glance-api-paste.ini
readOnly: true
- {{- end }}
- name: glance-etc
mountPath: /etc/glance/policy.yaml
subPath: policy.yaml
diff --git a/charts/glance/templates/pvc-images.yaml b/charts/glance/templates/pvc-images.yaml
index 0e09925..21ea961 100644
--- a/charts/glance/templates/pvc-images.yaml
+++ b/charts/glance/templates/pvc-images.yaml
@@ -20,8 +20,10 @@
apiVersion: v1
metadata:
name: glance-images
+ {{- if .Values.keep_pvc }}
annotations:
helm.sh/resource-policy: keep
+ {{- end }}
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
diff --git a/charts/glance/values.yaml b/charts/glance/values.yaml
index cea5248..2406a35 100644
--- a/charts/glance/values.yaml
+++ b/charts/glance/values.yaml
@@ -129,7 +129,66 @@
ceph_client:
override:
append:
- paste: {}
+ paste:
+ pipeline:glance-api:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler unauthenticated-context rootapp
+ pipeline:glance-api-caching:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler unauthenticated-context cache rootapp
+ pipeline:glance-api-cachemanagement:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler unauthenticated-context cache cachemanage rootapp
+ pipeline:glance-api-keystone:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler authtoken audit context rootapp
+ pipeline:glance-api-keystone+caching:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler authtoken audit context cache rootapp
+ pipeline:glance-api-keystone+cachemanagement:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler authtoken audit context cache cachemanage rootapp
+ pipeline:glance-api-trusted-auth:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler context rootapp
+ pipeline:glance-api-trusted-auth+cachemanagement:
+ pipeline: cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler context cache cachemanage rootapp
+ composite:rootapp:
+ paste.composite_factory: glance.api:root_app_factory
+ /: apiversions
+ /v1: apiv1app
+ /v2: apiv2app
+ app:apiversions:
+ paste.app_factory: glance.api.versions:create_resource
+ app:apiv1app:
+ paste.app_factory: glance.api.v1.router:API.factory
+ app:apiv2app:
+ paste.app_factory: glance.api.v2.router:API.factory
+ filter:healthcheck:
+ paste.filter_factory: oslo_middleware:Healthcheck.factory
+ backends: disable_by_file
+ disable_by_file_path: /etc/glance/healthcheck_disable
+ filter:versionnegotiation:
+ paste.filter_factory: glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory
+ filter:cache:
+ paste.filter_factory: glance.api.middleware.cache:CacheFilter.factory
+ filter:cachemanage:
+ paste.filter_factory: glance.api.middleware.cache_manage:CacheManageFilter.factory
+ filter:context:
+ paste.filter_factory: glance.api.middleware.context:ContextMiddleware.factory
+ filter:unauthenticated-context:
+ paste.filter_factory: glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
+ filter:authtoken:
+ paste.filter_factory: keystonemiddleware.auth_token:filter_factory
+ delay_auth_decision: true
+ filter:audit:
+ paste.filter_factory: keystonemiddleware.audit:filter_factory
+ audit_map_file: /etc/glance/api_audit_map.conf
+ filter:gzip:
+ paste.filter_factory: glance.api.middleware.gzip:GzipMiddleware.factory
+ filter:osprofiler:
+ paste.filter_factory: osprofiler.web:WsgiMiddleware.factory
+ hmac_keys: SECRET_KEY # DEPRECATED
+ enabled: yes # DEPRECATED
+ filter:cors:
+ paste.filter_factory: oslo_middleware.cors:filter_factory
+ oslo_config_project: glance
+ oslo_config_program: glance-api
+ filter:http_proxy_to_wsgi:
+ paste.filter_factory: oslo_middleware:HTTPProxyToWSGI.factory
policy: {}
glance_sudoers: |
# This sudoers file supports rootwrap for both Kolla and LOCI Images.
@@ -196,6 +255,8 @@
oslo_middleware:
enable_proxy_headers_parsing: true
keystone_authtoken:
+ service_token_roles: service
+ service_token_roles_required: true
auth_type: password
auth_version: v3
memcache_security_strategy: ENCRYPT
@@ -818,6 +879,20 @@
termination_grace_period:
api:
timeout: 30
+ probes:
+ api:
+ glance-api:
+ readiness:
+ enabled: true
+ params:
+ periodSeconds: 15
+ timeoutSeconds: 10
+ liveness:
+ enabled: true
+ params:
+ initialDelaySeconds: 30
+ periodSeconds: 15
+ timeoutSeconds: 10
resources:
enabled: false
api:
@@ -951,4 +1026,11 @@
secret_registry: true
service_ingress_api: true
service_api: true
+
+# NOTE: This is for enable helm resource-policy to keep glance-images PVC.
+# set keep_pvc: true when allow helm resource-policy to keep for PVC.
+# This will requires mannual delete for PVC.
+# set keep_pvc: false when disallow helm resource-policy to keep for PVC.
+# This will allow helm to delete the PVC.
+keep_pvc: true
...
diff --git a/charts/heat/templates/configmap-etc.yaml b/charts/heat/templates/configmap-etc.yaml
index b6630e4..b49edcd 100644
--- a/charts/heat/templates/configmap-etc.yaml
+++ b/charts/heat/templates/configmap-etc.yaml
@@ -135,10 +135,6 @@
{{- $formatter_fluent := dict "class" "oslo_log.formatters.FluentFormatter" -}}
{{- $_ := set .Values.conf.logging "formatter_fluent" $formatter_fluent -}}
{{- end -}}
-
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.heat.paste_deploy "api_paste_config" "/var/lib/openstack/etc/heat/api-paste.ini" -}}
-{{- end }}
---
apiVersion: v1
kind: Secret
@@ -149,9 +145,7 @@
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
heat.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.heat | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
- {{- if .Values.conf.paste }}
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
{{- if .Values.manifests.certificates }}
{{- include "helm-toolkit.snippets.values_template_renderer" (dict "envAll" $envAll "template" .Values.conf.mpm_event "key" "mpm_event.conf" "format" "Secret" ) | indent 2 }}
diff --git a/charts/heat/templates/deployment-api.yaml b/charts/heat/templates/deployment-api.yaml
index 09407c0..0bed310 100644
--- a/charts/heat/templates/deployment-api.yaml
+++ b/charts/heat/templates/deployment-api.yaml
@@ -111,12 +111,10 @@
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
readOnly: true
{{ end }}
- {{- if .Values.conf.paste }}
- name: heat-etc
mountPath: /etc/heat/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: heat-etc
mountPath: /etc/heat/policy.yaml
subPath: policy.yaml
diff --git a/charts/heat/templates/deployment-cfn.yaml b/charts/heat/templates/deployment-cfn.yaml
index ae9917d..94ddd06 100644
--- a/charts/heat/templates/deployment-cfn.yaml
+++ b/charts/heat/templates/deployment-cfn.yaml
@@ -111,12 +111,10 @@
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
readOnly: true
{{ end }}
- {{- if .Values.conf.paste }}
- name: heat-etc
mountPath: /etc/heat/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: heat-etc
mountPath: /etc/heat/policy.yaml
subPath: policy.yaml
diff --git a/charts/heat/templates/deployment-cloudwatch.yaml b/charts/heat/templates/deployment-cloudwatch.yaml
index 2acff93..f1f7353 100644
--- a/charts/heat/templates/deployment-cloudwatch.yaml
+++ b/charts/heat/templates/deployment-cloudwatch.yaml
@@ -97,12 +97,10 @@
subPath: {{ base .Values.conf.heat.DEFAULT.log_config_append }}
readOnly: true
{{ end }}
- {{- if .Values.conf.paste }}
- name: heat-etc
mountPath: /etc/heat/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: heat-etc
mountPath: /etc/heat/policy.yaml
subPath: policy.yaml
diff --git a/charts/heat/values.yaml b/charts/heat/values.yaml
index 7cd5197..ce61e7d 100644
--- a/charts/heat/values.yaml
+++ b/charts/heat/values.yaml
@@ -280,7 +280,66 @@
type: OS::Heat::RandomString
properties:
length: 40
- paste: {}
+ paste:
+ pipeline:heat-api:
+ pipeline: cors request_id faultwrap http_proxy_to_wsgi versionnegotiation osprofiler authurl authtoken audit context apiv1app
+ pipeline:heat-api-standalone:
+ pipeline: cors request_id faultwrap http_proxy_to_wsgi versionnegotiation authurl authpassword context apiv1app
+ pipeline:heat-api-custombackend:
+ pipeline: cors request_id faultwrap versionnegotiation context custombackendauth apiv1app
+ pipeline:heat-api-cfn:
+ pipeline: cors http_proxy_to_wsgi cfnversionnegotiation osprofiler ec2authtoken authtoken audit context apicfnv1app
+ pipeline:heat-api-cfn-standalone:
+ pipeline: cors http_proxy_to_wsgi cfnversionnegotiation ec2authtoken context apicfnv1app
+ pipeline:heat-api-cloudwatch:
+ pipeline: cors versionnegotiation osprofiler ec2authtoken authtoken audit context apicwapp
+ pipeline:heat-api-cloudwatch-standalone:
+ pipeline: cors versionnegotiation ec2authtoken context apicwapp
+ app:apiv1app:
+ paste.app_factory: heat.common.wsgi:app_factory
+ heat.app_factory: heat.api.openstack.v1:API
+ app:apicfnv1app:
+ paste.app_factory: heat.common.wsgi:app_factory
+ heat.app_factory: heat.api.cfn.v1:API
+ app:apicwapp:
+ paste.app_factory: heat.common.wsgi:app_factory
+ heat.app_factory: heat.api.cloudwatch:API
+ filter:versionnegotiation:
+ paste.filter_factory: heat.common.wsgi:filter_factory
+ heat.filter_factory: heat.api.openstack:version_negotiation_filter
+ filter:cors:
+ paste.filter_factory: oslo_middleware.cors:filter_factory
+ oslo_config_project: heat
+ filter:faultwrap:
+ paste.filter_factory: heat.common.wsgi:filter_factory
+ heat.filter_factory: heat.api.openstack:faultwrap_filter
+ filter:cfnversionnegotiation:
+ paste.filter_factory: heat.common.wsgi:filter_factory
+ heat.filter_factory: heat.api.cfn:version_negotiation_filter
+ filter:cwversionnegotiation:
+ paste.filter_factory: heat.common.wsgi:filter_factory
+ heat.filter_factory: heat.api.cloudwatch:version_negotiation_filter
+ filter:context:
+ paste.filter_factory: heat.common.context:ContextMiddleware_filter_factory
+ filter:ec2authtoken:
+ paste.filter_factory: heat.api.aws.ec2token:EC2Token_filter_factory
+ filter:http_proxy_to_wsgi:
+ paste.filter_factory: oslo_middleware:HTTPProxyToWSGI.factory
+ filter:authurl:
+ paste.filter_factory: heat.common.auth_url:filter_factory
+ filter:authtoken:
+ paste.filter_factory: keystonemiddleware.auth_token:filter_factory
+ filter:authpassword:
+ paste.filter_factory: heat.common.auth_password:filter_factory
+ filter:custombackendauth:
+ paste.filter_factory: heat.common.custom_backend_auth:filter_factory
+ filter:audit:
+ paste.filter_factory: keystonemiddleware.audit:filter_factory
+ audit_map_file: /etc/heat/api_audit_map.conf
+ filter:request_id:
+ paste.filter_factory: oslo_middleware.request_id:RequestId.factory
+ filter:osprofiler:
+ paste.filter_factory: osprofiler.web:WsgiMiddleware.factory
policy: {}
heat:
DEFAULT:
diff --git a/charts/magnum/charts/helm-toolkit/Chart.yaml b/charts/magnum/charts/helm-toolkit/Chart.yaml
index 7d3703e..e6aec81 100644
--- a/charts/magnum/charts/helm-toolkit/Chart.yaml
+++ b/charts/magnum/charts/helm-toolkit/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/openstack-helm-infra
- https://opendev.org/openstack/openstack-helm
-version: 0.2.53
+version: 0.2.54
diff --git a/charts/magnum/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl b/charts/magnum/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
index b99c00d..4a88dd8 100644
--- a/charts/magnum/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
+++ b/charts/magnum/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
@@ -27,10 +27,12 @@
{{- else if kindIs "slice" $dependencyMixinParam }}
{{- $_ := set $envAll.Values "__deps" ( index $envAll.Values.dependencies.static $dependencyKey ) }}
{{- range $k, $v := $dependencyMixinParam -}}
+{{- if ( index $envAll.Values.dependencies.dynamic.targeted $v ) }}
{{- $_ := include "helm-toolkit.utils.merge" (tuple $envAll.Values.pod_dependency $envAll.Values.__deps ( index $envAll.Values.dependencies.dynamic.targeted $v $dependencyKey ) ) -}}
{{- $_ := set $envAll.Values "__deps" $envAll.Values.pod_dependency -}}
{{- end }}
{{- end }}
+{{- end }}
{{- else -}}
{{- $_ := set $envAll.Values "pod_dependency" ( index $envAll.Values.dependencies.static $dependencyKey ) -}}
{{- end -}}
diff --git a/charts/magnum/requirements.lock b/charts/magnum/requirements.lock
index 7a9c29d..406a15a 100644
--- a/charts/magnum/requirements.lock
+++ b/charts/magnum/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
- version: 0.2.53
-digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-08-03T12:05:37.921255399Z"
+ version: 0.2.54
+digest: sha256:337a0f1ffb3eae591150b305c22293d85fb8c18abec78f56672de4f3ada2faae
+generated: "2023-09-01T14:09:23.187951159Z"
diff --git a/charts/magnum/templates/configmap-etc.yaml b/charts/magnum/templates/configmap-etc.yaml
index bbd9753..466e2ae 100644
--- a/charts/magnum/templates/configmap-etc.yaml
+++ b/charts/magnum/templates/configmap-etc.yaml
@@ -71,10 +71,6 @@
{{- $_ := set .Values.conf.magnum.trust "trustee_domain_admin_password" .Values.endpoints.identity.auth.magnum_stack_user.password -}}
{{- end -}}
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.magnum.api "api_paste_config" "/var/lib/openstack/etc/magnum/api-paste.ini" -}}
-{{- end }}
-
{{- if and (empty .Values.conf.logging.handler_fluent) (has "fluent" .Values.conf.logging.handlers.keys) -}}
{{- $fluentd_host := tuple "fluentd" "internal" $envAll | include "helm-toolkit.endpoints.hostname_namespaced_endpoint_lookup" }}
{{- $fluentd_port := tuple "fluentd" "internal" "service" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
@@ -96,8 +92,6 @@
data:
magnum.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.magnum | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
- {{- if .Values.conf.paste }}
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
{{- end }}
diff --git a/charts/magnum/templates/deployment-api.yaml b/charts/magnum/templates/deployment-api.yaml
index d7873eb..fbb43d2 100644
--- a/charts/magnum/templates/deployment-api.yaml
+++ b/charts/magnum/templates/deployment-api.yaml
@@ -98,12 +98,10 @@
subPath: {{ base .Values.conf.magnum.DEFAULT.log_config_append }}
readOnly: true
{{- end }}
- {{- if .Values.conf.paste }}
- name: magnum-etc
mountPath: /etc/magnum/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: magnum-etc
mountPath: /etc/magnum/policy.yaml
subPath: policy.yaml
diff --git a/charts/magnum/values.yaml b/charts/magnum/values.yaml
index 7572095..91a5055 100644
--- a/charts/magnum/values.yaml
+++ b/charts/magnum/values.yaml
@@ -51,7 +51,23 @@
- image_repo_sync
conf:
- paste: {}
+ paste:
+ pipeline:main:
+ pipeline: cors healthcheck request_id authtoken api_v1
+ app:api_v1:
+ paste.app_factory: magnum.api.app:app_factory
+ filter:authtoken:
+ acl_public_routes: /, /v1
+ paste.filter_factory: magnum.api.middleware.auth_token:AuthTokenMiddleware.factory
+ filter:request_id:
+ paste.filter_factory: oslo_middleware:RequestId.factory
+ filter:cors:
+ paste.filter_factory: oslo_middleware.cors:filter_factory
+ oslo_config_project: magnum
+ filter:healthcheck:
+ paste.filter_factory: oslo_middleware:Healthcheck.factory
+ backends: disable_by_file
+ disable_by_file_path: /etc/magnum/healthcheck_disable
policy: {}
magnum:
DEFAULT:
diff --git a/charts/manila/templates/configmap-etc.yaml b/charts/manila/templates/configmap-etc.yaml
index 15f7fde..e230aa4 100644
--- a/charts/manila/templates/configmap-etc.yaml
+++ b/charts/manila/templates/configmap-etc.yaml
@@ -59,10 +59,6 @@
{{- $_ := set .Values.conf.manila.keystone_authtoken "memcache_secret_key" $memcache_secret_key -}}
{{- end -}}
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.manila.DEFAULT "api_paste_config" "/var/lib/openstack/etc/manila/api-paste.ini" -}}
-{{- end }}
-
{{- if empty .Values.conf.manila.database.connection -}}
{{- $_ := tuple "oslo_db" "internal" "manila" "mysql" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup"| set .Values.conf.manila.database "connection" -}}
{{- end -}}
@@ -237,9 +233,7 @@
{{ printf "%s.filters" $filePrefix }}: {{ $value.content | b64enc }}
{{- end }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
- {{- if .Values.conf.paste }}
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
manila_sudoers: {{ $envAll.Values.conf.manila_sudoers | b64enc }}
rootwrap.conf: {{ $envAll.Values.conf.rootwrap | b64enc }}
diff --git a/charts/manila/templates/deployment-api.yaml b/charts/manila/templates/deployment-api.yaml
index b2169f3..0e4505a 100644
--- a/charts/manila/templates/deployment-api.yaml
+++ b/charts/manila/templates/deployment-api.yaml
@@ -100,12 +100,10 @@
subPath: {{ base .Values.conf.manila.DEFAULT.log_config_append }}
readOnly: true
{{- end }}
- {{- if .Values.conf.paste }}
- name: manila-etc
mountPath: /etc/manila/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: manila-etc
mountPath: /etc/manila/policy.yaml
subPath: policy.yaml
diff --git a/charts/manila/values.yaml b/charts/manila/values.yaml
index 2132de2..76e19d3 100644
--- a/charts/manila/values.yaml
+++ b/charts/manila/values.yaml
@@ -405,7 +405,55 @@
service: oslo_messaging
conf:
- paste: {}
+ paste:
+ composite:osapi_share:
+ use: call:manila.api:root_app_factory
+ /: apiversions
+ /healthcheck: healthcheck
+ /v1: openstack_share_api
+ /v2: openstack_share_api_v2
+ composite:openstack_share_api:
+ use: call:manila.api.middleware.auth:pipeline_factory
+ noauth: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler noauth api
+ keystone: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext api
+ keystone_nolimit: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext api
+ composite:openstack_share_api_v2:
+ use: call:manila.api.middleware.auth:pipeline_factory
+ noauth: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler noauth apiv2
+ noauthv2: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler noauthv2 apiv2
+ keystone: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext apiv2
+ keystone_nolimit: cors faultwrap http_proxy_to_wsgi sizelimit osprofiler authtoken keystonecontext apiv2
+ filter:faultwrap:
+ paste.filter_factory: manila.api.middleware.fault:FaultWrapper.factory
+ filter:noauth:
+ paste.filter_factory: manila.api.middleware.auth:NoAuthMiddleware.factory
+ filter:noauthv2:
+ paste.filter_factory: manila.api.middleware.auth:NoAuthMiddlewarev2_60.factory
+ filter:sizelimit:
+ paste.filter_factory: oslo_middleware.sizelimit:RequestBodySizeLimiter.factory
+ filter:osprofiler:
+ paste.filter_factory: osprofiler.web:WsgiMiddleware.factory
+ filter:http_proxy_to_wsgi:
+ paste.filter_factory: oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory
+ app:api:
+ paste.app_factory: manila.api.v1.router:APIRouter.factory
+ app:apiv2:
+ paste.app_factory: manila.api.v2.router:APIRouter.factory
+ pipeline:apiversions:
+ pipeline: cors faultwrap http_proxy_to_wsgi osshareversionapp
+ app:osshareversionapp:
+ paste.app_factory: manila.api.versions:VersionsRouter.factory
+ filter:keystonecontext:
+ paste.filter_factory: manila.api.middleware.auth:ManilaKeystoneContext.factory
+ filter:authtoken:
+ paste.filter_factory: keystonemiddleware.auth_token:filter_factory
+ filter:cors:
+ paste.filter_factory: oslo_middleware.cors:filter_factory
+ oslo_config_project: manila
+ app:healthcheck:
+ paste.app_factory: oslo_middleware:Healthcheck.app_factory
+ backends: disable_by_file
+ disable_by_file_path: /etc/manila/healthcheck_disable
policy: {}
manila_sudoers: |
# This sudoers file supports rootwrap for both Kolla and LOCI Images.
diff --git a/charts/octavia/requirements.lock b/charts/octavia/requirements.lock
index 63f5f4c..2af3938 100644
--- a/charts/octavia/requirements.lock
+++ b/charts/octavia/requirements.lock
@@ -3,4 +3,4 @@
repository: file://../../openstack-helm-infra/helm-toolkit
version: 0.2.54
digest: sha256:337a0f1ffb3eae591150b305c22293d85fb8c18abec78f56672de4f3ada2faae
-generated: "2023-08-19T09:33:03.94377723Z"
+generated: "2023-09-01T14:09:34.054973837Z"
diff --git a/charts/openvswitch/charts/helm-toolkit/Chart.yaml b/charts/openvswitch/charts/helm-toolkit/Chart.yaml
index 7d3703e..e6aec81 100644
--- a/charts/openvswitch/charts/helm-toolkit/Chart.yaml
+++ b/charts/openvswitch/charts/helm-toolkit/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/openstack-helm-infra
- https://opendev.org/openstack/openstack-helm
-version: 0.2.53
+version: 0.2.54
diff --git a/charts/openvswitch/charts/helm-toolkit/requirements.lock b/charts/openvswitch/charts/helm-toolkit/requirements.lock
index bd84c17..9792284 100644
--- a/charts/openvswitch/charts/helm-toolkit/requirements.lock
+++ b/charts/openvswitch/charts/helm-toolkit/requirements.lock
@@ -1,3 +1,3 @@
dependencies: []
digest: sha256:643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726
-generated: "2023-07-13T00:20:40.989069689Z"
+generated: "2023-08-09T12:11:24.478182096Z"
diff --git a/charts/openvswitch/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl b/charts/openvswitch/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
index b99c00d..4a88dd8 100644
--- a/charts/openvswitch/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
+++ b/charts/openvswitch/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
@@ -27,10 +27,12 @@
{{- else if kindIs "slice" $dependencyMixinParam }}
{{- $_ := set $envAll.Values "__deps" ( index $envAll.Values.dependencies.static $dependencyKey ) }}
{{- range $k, $v := $dependencyMixinParam -}}
+{{- if ( index $envAll.Values.dependencies.dynamic.targeted $v ) }}
{{- $_ := include "helm-toolkit.utils.merge" (tuple $envAll.Values.pod_dependency $envAll.Values.__deps ( index $envAll.Values.dependencies.dynamic.targeted $v $dependencyKey ) ) -}}
{{- $_ := set $envAll.Values "__deps" $envAll.Values.pod_dependency -}}
{{- end }}
{{- end }}
+{{- end }}
{{- else -}}
{{- $_ := set $envAll.Values "pod_dependency" ( index $envAll.Values.dependencies.static $dependencyKey ) -}}
{{- end -}}
diff --git a/charts/openvswitch/requirements.lock b/charts/openvswitch/requirements.lock
index 76b11f3..c3f6c8e 100644
--- a/charts/openvswitch/requirements.lock
+++ b/charts/openvswitch/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: helm-toolkit
repository: file://../helm-toolkit
- version: 0.2.53
-digest: sha256:ffe3f3b02607e6a035f38f83855988fd8d5c388dbd0bd46e75c22b493a50ede9
-generated: "2023-07-13T00:20:58.830479346Z"
+ version: 0.2.54
+digest: sha256:dd4dba67518d3c1ed79bf1663fbb9379b51c4a5d985f8a4884f4e9d168ab940d
+generated: "2023-08-09T12:11:40.236995086Z"
diff --git a/charts/senlin/charts/helm-toolkit/Chart.yaml b/charts/senlin/charts/helm-toolkit/Chart.yaml
index 7d3703e..e6aec81 100644
--- a/charts/senlin/charts/helm-toolkit/Chart.yaml
+++ b/charts/senlin/charts/helm-toolkit/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/openstack-helm-infra
- https://opendev.org/openstack/openstack-helm
-version: 0.2.53
+version: 0.2.54
diff --git a/charts/senlin/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl b/charts/senlin/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
index b99c00d..4a88dd8 100644
--- a/charts/senlin/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
+++ b/charts/senlin/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
@@ -27,10 +27,12 @@
{{- else if kindIs "slice" $dependencyMixinParam }}
{{- $_ := set $envAll.Values "__deps" ( index $envAll.Values.dependencies.static $dependencyKey ) }}
{{- range $k, $v := $dependencyMixinParam -}}
+{{- if ( index $envAll.Values.dependencies.dynamic.targeted $v ) }}
{{- $_ := include "helm-toolkit.utils.merge" (tuple $envAll.Values.pod_dependency $envAll.Values.__deps ( index $envAll.Values.dependencies.dynamic.targeted $v $dependencyKey ) ) -}}
{{- $_ := set $envAll.Values "__deps" $envAll.Values.pod_dependency -}}
{{- end }}
{{- end }}
+{{- end }}
{{- else -}}
{{- $_ := set $envAll.Values "pod_dependency" ( index $envAll.Values.dependencies.static $dependencyKey ) -}}
{{- end -}}
diff --git a/charts/senlin/requirements.lock b/charts/senlin/requirements.lock
index 8c76a33..ee8b3ba 100644
--- a/charts/senlin/requirements.lock
+++ b/charts/senlin/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
- version: 0.2.53
-digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-08-03T12:05:35.548512383Z"
+ version: 0.2.54
+digest: sha256:337a0f1ffb3eae591150b305c22293d85fb8c18abec78f56672de4f3ada2faae
+generated: "2023-09-01T14:09:24.432706913Z"
diff --git a/charts/senlin/templates/configmap-etc.yaml b/charts/senlin/templates/configmap-etc.yaml
index 2f2a4a8..a47a3a4 100644
--- a/charts/senlin/templates/configmap-etc.yaml
+++ b/charts/senlin/templates/configmap-etc.yaml
@@ -93,11 +93,6 @@
{{- $formatter_fluent := dict "class" "oslo_log.formatters.FluentFormatter" -}}
{{- $_ := set .Values.conf.logging "formatter_fluent" $formatter_fluent -}}
{{- end -}}
-
-{{- if not .Values.conf.paste }}
-{{- $_ := set $envAll.Values.conf.senlin.senlin_api "api_paste_config" "/var/lib/openstack/etc/senlin/api-paste.ini" -}}
-{{- end }}
-
---
apiVersion: v1
kind: Secret
@@ -108,8 +103,6 @@
rally_tests.yaml: {{ toYaml .Values.conf.rally_tests.tests | b64enc }}
senlin.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.senlin | b64enc }}
logging.conf: {{ include "helm-toolkit.utils.to_oslo_conf" .Values.conf.logging | b64enc }}
- {{- if .Values.conf.paste }}
api-paste.ini: {{ include "helm-toolkit.utils.to_ini" .Values.conf.paste | b64enc }}
- {{- end }}
policy.yaml: {{ toYaml .Values.conf.policy | b64enc }}
{{- end }}
diff --git a/charts/senlin/templates/deployment-api.yaml b/charts/senlin/templates/deployment-api.yaml
index 689c045..d6577ff 100644
--- a/charts/senlin/templates/deployment-api.yaml
+++ b/charts/senlin/templates/deployment-api.yaml
@@ -98,12 +98,10 @@
subPath: {{ base .Values.conf.senlin.DEFAULT.log_config_append }}
readOnly: true
{{- end }}
- {{- if .Values.conf.paste }}
- name: senlin-etc
mountPath: /etc/senlin/api-paste.ini
subPath: api-paste.ini
readOnly: true
- {{- end }}
- name: senlin-etc
mountPath: /etc/senlin/policy.yaml
subPath: policy.yaml
diff --git a/charts/senlin/values.yaml b/charts/senlin/values.yaml
index ba4ecad..dee923e 100644
--- a/charts/senlin/values.yaml
+++ b/charts/senlin/values.yaml
@@ -96,7 +96,33 @@
image: df0c1a14-0940-4ae5-be5c-bb06aa407da2
networks:
- network: public
- paste: {}
+ paste:
+ pipeline:senlin-api:
+ pipeline: request_id faultwrap ssl versionnegotiation webhook authtoken context trust apiv1app
+ app:apiv1app:
+ paste.app_factory: senlin.api.common.wsgi:app_factory
+ senlin.app_factory: senlin.api.openstack.v1.router:API
+ filter:request_id:
+ paste.filter_factory: oslo_middleware.request_id:RequestId.factory
+ filter:faultwrap:
+ paste.filter_factory: senlin.api.common.wsgi:filter_factory
+ senlin.filter_factory: senlin.api.middleware:fault_filter
+ filter:context:
+ paste.filter_factory: senlin.api.common.wsgi:filter_factory
+ senlin.filter_factory: senlin.api.middleware:context_filter
+ filter:ssl:
+ paste.filter_factory: oslo_middleware.ssl:SSLMiddleware.factory
+ filter:versionnegotiation:
+ paste.filter_factory: senlin.api.common.wsgi:filter_factory
+ senlin.filter_factory: senlin.api.middleware:version_filter
+ filter:trust:
+ paste.filter_factory: senlin.api.common.wsgi:filter_factory
+ senlin.filter_factory: senlin.api.middleware:trust_filter
+ filter:webhook:
+ paste.filter_factory: senlin.api.common.wsgi:filter_factory
+ senlin.filter_factory: senlin.api.middleware:webhook_filter
+ filter:authtoken:
+ paste.filter_factory: keystonemiddleware.auth_token:filter_factory
policy: {}
senlin:
DEFAULT:
diff --git a/charts/tempest/charts/helm-toolkit/Chart.yaml b/charts/tempest/charts/helm-toolkit/Chart.yaml
index 7d3703e..e6aec81 100644
--- a/charts/tempest/charts/helm-toolkit/Chart.yaml
+++ b/charts/tempest/charts/helm-toolkit/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/openstack-helm-infra
- https://opendev.org/openstack/openstack-helm
-version: 0.2.53
+version: 0.2.54
diff --git a/charts/tempest/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl b/charts/tempest/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
index b99c00d..4a88dd8 100644
--- a/charts/tempest/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
+++ b/charts/tempest/charts/helm-toolkit/templates/utils/_dependency_resolver.tpl
@@ -27,10 +27,12 @@
{{- else if kindIs "slice" $dependencyMixinParam }}
{{- $_ := set $envAll.Values "__deps" ( index $envAll.Values.dependencies.static $dependencyKey ) }}
{{- range $k, $v := $dependencyMixinParam -}}
+{{- if ( index $envAll.Values.dependencies.dynamic.targeted $v ) }}
{{- $_ := include "helm-toolkit.utils.merge" (tuple $envAll.Values.pod_dependency $envAll.Values.__deps ( index $envAll.Values.dependencies.dynamic.targeted $v $dependencyKey ) ) -}}
{{- $_ := set $envAll.Values "__deps" $envAll.Values.pod_dependency -}}
{{- end }}
{{- end }}
+{{- end }}
{{- else -}}
{{- $_ := set $envAll.Values "pod_dependency" ( index $envAll.Values.dependencies.static $dependencyKey ) -}}
{{- end -}}
diff --git a/charts/tempest/requirements.lock b/charts/tempest/requirements.lock
index a4ad6cb..1401d75 100644
--- a/charts/tempest/requirements.lock
+++ b/charts/tempest/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: helm-toolkit
repository: file://../../openstack-helm-infra/helm-toolkit
- version: 0.2.53
-digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-08-03T12:05:39.708529373Z"
+ version: 0.2.54
+digest: sha256:337a0f1ffb3eae591150b305c22293d85fb8c18abec78f56672de4f3ada2faae
+generated: "2023-09-01T14:09:26.173856428Z"
diff --git a/hack/sync-charts.sh b/hack/sync-charts.sh
index a0fc655..aa94ca0 100755
--- a/hack/sync-charts.sh
+++ b/hack/sync-charts.sh
@@ -85,42 +85,18 @@
BARBICAN_VERSION=0.3.2
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/barbican-${BARBICAN_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'barbican/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/barbican
CEPH_PROVISIONERS_VERSION=0.1.8
curl -sL https://tarballs.opendev.org/openstack/openstack-helm-infra/ceph-provisioners-${CEPH_PROVISIONERS_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-GLANCE_VERSION=0.4.6
+GLANCE_VERSION=0.4.12
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/glance-${GLANCE_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'glance/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/glance
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~892704/revisions/1/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'glance/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/glance
CINDER_VERSION=0.3.10
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/cinder-${CINDER_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'cinder/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/cinder
PLACEMENT_VERSION=0.3.2
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/placement-${PLACEMENT_VERSION}.tgz \
@@ -151,12 +127,6 @@
NEUTRON_VERSION=0.3.15
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/neutron-${NEUTRON_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'neutron/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/neutron
curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~889258/revisions/6/patch?download' \
| base64 --decode \
| filterdiff -p1 -x 'releasenotes/*' \
@@ -168,42 +138,18 @@
NOVA_VERISON=0.3.10
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/nova-${NOVA_VERISON}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'nova/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/nova
SENLIN_VERSION=0.2.9
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/senlin-${SENLIN_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'senlin/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/senlin
DESIGNATE_VERSION=0.2.9
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/designate-${DESIGNATE_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'designate/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/designate
HEAT_VERSION=0.3.3
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/heat-${HEAT_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'heat/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/heat
OCTAVIA_VERSION=0.2.9
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/octavia-${OCTAVIA_VERSION}.tgz \
@@ -212,12 +158,6 @@
MAGNUM_VERSION=0.2.9
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/magnum-${MAGNUM_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/8/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'magnum/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/magnum
HORIZON_VERSION=0.3.8
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/horizon-${HORIZON_VERSION}.tgz \
@@ -238,9 +178,3 @@
MANILA_VERSION=0.1.1
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/manila-${MANILA_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-curl 'https://review.opendev.org/changes/openstack%2Fopenstack-helm~883168/revisions/11/patch?download' \
- | base64 --decode \
- | filterdiff -p1 -x 'releasenotes/*' \
- | filterdiff -p2 -x 'Chart.yaml' \
- | filterdiff -p1 -i 'manila/*' \
- | patch -p2 -d ${ATMOSPHERE}/charts/manila