Migrate CronJob resources to batch/v1 and PodDisruptionBudget resources to policy/v1

This change updates the following charts to migrate CronJob resources to the batch/v1 API version, available since v1.21. [0]
and to migrate PodDisruptionBudget to the policy/v1 API version, also available since v1.21. [1]

- aodh (CronJob & PodDisruptionBudget)
- barbican (PodDisruptionBudget)
- ceilometer (PodDisruptionBudget)
- cinder (CronJob & PodDisruptionBudget)
- cyborg (PodDisruptionBudget)
- designate (PodDisruptionBudget)
- glance (PodDisruptionBudget)
- heat (CronJob & PodDisruptionBudget)
- horizon (PodDisruptionBudget)
- Ironic (PodDisruptionBudget)
- Keystone (CronJob & PodDisruptionBudget)
- magnum (PodDisruptionBudget)
- masakari (PodDisruptionBudget)
- mistral (PodDisruptionBudget)
- neutron (PodDisruptionBudget)
- nova (CronJob & PodDisruptionBudget)
- octavia (PodDisruptionBudget)
- placement (PodDisruptionBudget)
- rally (PodDisruptionBudget)
- senlin (CronJob & PodDisruptionBudget)

0: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#cronjob-v125
1: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125

Change-Id: I2fc0692e1c8e2c4fa4d4ca1da96b5c6a832343fa
This commit is contained in:
Schubert Anselme 2022-05-05 11:48:24 -04:00
parent f36acde179
commit 8d5ddc9035
No known key found for this signature in database
GPG Key ID: F3B03D5AF2155BED
79 changed files with 79 additions and 58 deletions

1
.gitignore vendored
View File

@ -58,6 +58,7 @@ releasenotes/build
# Dev tools
.idea/
.vscode/
**/.vagrant
**/*.log

View File

@ -16,7 +16,7 @@ apiVersion: v1
appVersion: v1.0.0
description: Openstack-Helm Aodh
name: aodh
version: 0.2.3
version: 0.2.4
home: https://docs.openstack.org/aodh/latest/
sources:
- https://opendev.org/openstack/aodh

View File

@ -23,7 +23,7 @@ limitations under the License.
{{- $serviceAccountName := "aodh-alarms-cleaner" }}
{{ tuple $envAll "alarms_cleaner" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: aodh-alarms-cleaner

View File

@ -17,7 +17,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: aodh-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Barbican
name: barbican
version: 0.2.12
version: 0.2.13
home: https://docs.openstack.org/barbican/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Barbican/OpenStack_Project_Barbican_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: barbican-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Ceilometer
name: ceilometer
version: 0.2.4
version: 0.2.5
home: https://docs.openstack.org/ceilometer/latest/
sources:
- https://opendev.org/openstack/ceilometer

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: ceilometer-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Cinder
name: cinder
version: 0.2.20
version: 0.2.21
home: https://docs.openstack.org/cinder/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png
sources:

View File

@ -21,7 +21,7 @@ limitations under the License.
{{- $serviceAccountName := "cinder-volume-usage-audit" }}
{{ tuple $envAll "volume_usage_audit" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cinder-volume-usage-audit

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: cinder-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Cyborg
name: cyborg
version: 0.1.0
version: 0.1.1
home: https://docs.openstack.org/cyborg
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cyborg/OpenStack_Project_Cyborg_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: cyborg-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Designate
name: designate
version: 0.2.4
version: 0.2.5
home: https://docs.openstack.org/designate/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Designate/OpenStack_Project_Designate_vertical.jpg
sources:

View File

@ -13,7 +13,7 @@
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: designate-api

View File

@ -13,7 +13,7 @@
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: designate-central

View File

@ -13,7 +13,7 @@
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: designate-mdns

View File

@ -13,7 +13,7 @@
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: designate-producer

View File

@ -13,7 +13,7 @@
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: designate-sink

View File

@ -13,7 +13,7 @@
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: designate-worker

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Glance
name: glance
version: 0.3.4
version: 0.3.5
home: https://docs.openstack.org/glance/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: glance-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Heat
name: heat
version: 0.2.11
version: 0.2.12
home: https://docs.openstack.org/heat/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Heat/OpenStack_Project_Heat_vertical.png
sources:

View File

@ -21,7 +21,7 @@ limitations under the License.
{{- $serviceAccountName := "heat-engine-cleaner" }}
{{ tuple $envAll "engine_cleaner" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: heat-engine-cleaner

View File

@ -21,7 +21,7 @@ limitations under the License.
{{- $serviceAccountName := "heat-purge-deleted" }}
{{ tuple $envAll "purge_deleted" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: heat-purge-deleted

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: heat-api

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_cfn }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: heat-cfn

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_cloudwatch }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: heat-cloudwatch

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Horizon
name: horizon
version: 0.2.21
version: 0.2.22
home: https://docs.openstack.org/horizon/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: horizon

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Ironic
name: ironic
version: 0.2.4
version: 0.2.5
home: https://docs.openstack.org/ironic/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Ironic/OpenStack_Project_Ironic_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: ironic-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Keystone
name: keystone
version: 0.2.24
version: 0.2.25
home: https://docs.openstack.org/keystone/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png
sources:

View File

@ -49,7 +49,7 @@ subjects:
name: {{ $serviceAccountName }}
namespace: {{ $envAll.Release.Namespace }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: keystone-credential-rotate

View File

@ -50,7 +50,7 @@ subjects:
name: {{ $serviceAccountName }}
namespace: {{ $envAll.Release.Namespace }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: keystone-fernet-rotate

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: keystone-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Magnum
name: magnum
version: 0.2.5
version: 0.2.6
home: https://docs.openstack.org/magnum/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: magnum-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Masakari
name: masakari
version: 0.1.3
version: 0.1.4
home: https://docs.openstack.org/developer/masakari
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Masakari/OpenStack_Project_masakari_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: masakari-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Mistral
name: mistral
version: 0.2.3
version: 0.2.4
home: https://docs.openstack.org/mistral/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Mistral/OpenStack_Project_Mistral_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: mistral-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Neutron
name: neutron
version: 0.2.16
version: 0.2.17
home: https://docs.openstack.org/neutron/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_server }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: neutron-server

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Nova
name: nova
version: 0.2.38
version: 0.2.39
home: https://docs.openstack.org/nova/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
sources:

View File

@ -18,7 +18,7 @@ limitations under the License.
{{- $serviceAccountName := "nova-archive-deleted-rows-cron" }}
{{ tuple $envAll "archive_deleted_rows" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: nova-archive-deleted-rows

View File

@ -18,7 +18,7 @@ limitations under the License.
{{- $serviceAccountName := "nova-cell-setup-cron" }}
{{ tuple $envAll "cell_setup" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: nova-cell-setup

View File

@ -18,7 +18,7 @@ limitations under the License.
{{- $serviceAccountName := "nova-service-cleaner" }}
{{ tuple $envAll "service_cleaner" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: nova-service-cleaner

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_metadata }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: nova-api-metadata

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_osapi }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: nova-api-osapi

View File

@ -16,7 +16,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Octavia
name: octavia
version: 0.2.4
version: 0.2.5
home: https://docs.openstack.org/octavia/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Octavia/OpenStack_Project_Octavia_vertical.png
sources:

View File

@ -17,7 +17,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: octavia-api

View File

@ -16,7 +16,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Placement
name: placement
version: 0.2.7
version: 0.2.8
home: https://docs.openstack.org/placement/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png
sources:

View File

@ -17,7 +17,7 @@ limitations under the License.
{{- if .Values.manifests.pdb }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: placement-api

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm rally
name: rally
version: 0.2.3
version: 0.2.4
home: https://docs.openstack.org/developer/rally
icon: https://www.openstack.org/themes/openstack/images/project-mascots/rally/OpenStack_Project_rally_vertical.png
sources:

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: rally-api

View File

@ -6,4 +6,5 @@ aodh:
- 0.2.1 Use policies in yaml format
- 0.2.2 Update htk requirements repo
- 0.2.3 Enable taint toleration for Openstack services
- 0.2.4 Migrated CronJob resource to batch/v1 API version & PodDisruptionBudget to policy/v1
...

View File

@ -16,4 +16,5 @@ barbican:
- 0.2.10 Enable taint toleration for Openstack services
- 0.2.11 Fix job annotations for db init job
- 0.2.12 Remove older values overrides
- 0.2.13 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -7,4 +7,5 @@ ceilometer:
- 0.2.2 Update htk requirements repo
- 0.2.3 Enable taint toleration for Openstack services
- 0.2.4 Update default image values to Wallaby
- 0.2.5 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -37,4 +37,5 @@ cinder:
- 0.2.18 Add helm hook in bootstrap job
- 0.2.19 Add volume types visibility (public/private)
- 0.2.20 Allow cinder v1/v2 endpoint creation if needed
- 0.2.21 Migrated CronJob resource to batch/v1 API version & PodDisruptionBudget to policy/v1
...

View File

@ -1,4 +1,5 @@
---
cyborg:
- 0.1.0 Initial Chart
- 0.1.1 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -8,4 +8,5 @@ designate:
- 0.2.2 Update htk requirements repo
- 0.2.3 Fix extra volume mounts
- 0.2.4 Update default image values to Wallaby
- 0.2.5 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -25,4 +25,5 @@ glance:
- 0.3.2 Decrease terminationGracePeriodSeconds on glance-api
- 0.3.3 Update naming for subchart compatibility
- 0.3.4 Change image default version to wallaby
- 0.3.5 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -18,4 +18,5 @@ heat:
- 0.2.9 Enable taint toleration for Openstack services
- 0.2.10 Updated naming for subchart compatibility
- 0.2.11 Remove old releases values override in heat
- 0.2.12 Migrated CronJob resource to batch/v1 API version & PodDisruptionBudget to policy/v1
...

View File

@ -31,4 +31,5 @@ horizon:
- 0.2.19 Remove unsupported value overrides
- 0.2.20 Add SHOW_OPENRC_FILE value
- 0.2.21 Add helm hook annotations in db-sync and db-init jobs
- 0.2.22 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -8,4 +8,5 @@ ironic:
- 0.2.2 Update htk requirements repo
- 0.2.3 Enable taint toleration for Openstack services
- 0.2.4 Update defaults to W release
- 0.2.5 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -40,4 +40,5 @@ keystone:
- 0.2.22 Remove older values overrides
- 0.2.23 Remove usage of six
- 0.2.24 Remove unused admin port in keystone
- 0.2.25 Migrated CronJob resource to batch/v1 API version & PodDisruptionBudget to policy/v1
...

View File

@ -9,4 +9,5 @@ magnum:
- 0.2.3 Update htk requirements repo
- 0.2.4 Mount empty temp_cache_dir for performance
- 0.2.5 Update default image values to wallaby
- 0.2.6 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -4,4 +4,5 @@ masakari:
- 0.1.1 Seperate node labels for monitors
- 0.1.2 Added halm hook and fix for hostmonitors to support pacemaker remote
- 0.1.3 Mount sudoers file for masakari hostmonitors
- 0.1.4 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -7,4 +7,5 @@ mistral:
- 0.2.1 Use policies in yaml format
- 0.2.2 Update htk requirements repo
- 0.2.3 Update default imaage values to Wallaby
- 0.2.4 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -30,4 +30,5 @@ neutron:
- 0.2.14 Migrate IP from bridge for auto_bridge_add
- 0.2.15 Remove unsupported values overrides
- 0.2.16 Remove usage of six
- 0.2.17 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -59,4 +59,5 @@ nova:
- 0.2.36 Support TLS endpoints
- 0.2.37 Remove nova-placement
- 0.2.38 Update nova image defaults
- 0.2.39 Migrated CronJob resource to batch/v1 API version & PodDisruptionBudget to policy/v1
...

View File

@ -8,4 +8,5 @@ octavia:
- 0.2.2 Update htk requirements repo
- 0.2.3 Allow using log_config_append=null
- 0.2.4 Fix transport_url
- 0.2.5 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -16,4 +16,5 @@ placement:
- 0.2.5 Update htk requirements repo
- 0.2.6 Enable taint toleration for Openstack services
- 0.2.7 Add helm hook annotations for db-sync job
- 0.2.8 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -6,4 +6,5 @@ rally:
- 0.2.1 Update htk requirements repo
- 0.2.2 Add values for backoffLimit and restartPolicy
- 0.2.3 Update default image values to Wallaby
- 0.2.4 Migrated PodDisruptionBudget resource to policy/v1 API version
...

View File

@ -7,4 +7,5 @@ senlin:
- 0.2.2 Update htk requirements repo
- 0.2.3 Add conductor & health manager
- 0.2.4 Update default image release
- 0.2.5 Migrated CronJob resource to batch/v1 API version & PodDisruptionBudget to policy/v1
...

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Senlin
name: senlin
version: 0.2.4
version: 0.2.5
home: https://docs.openstack.org/senlin/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Senlin/OpenStack_Project_Senlin_vertical.png
sources:

View File

@ -21,7 +21,7 @@ limitations under the License.
{{- $serviceAccountName := "senlin-engine-cleaner" }}
{{ tuple $envAll "engine_cleaner" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: senlin-engine-cleaner

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- if .Values.manifests.pdb_api }}
{{- $envAll := . }}
---
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: senlin-api