Update deployment for kubernetes 1.6

In Kubernetes 1.6, the deployment API version was changed
from extensions/v1beta1 to apps/v1beta1

Change-Id: I14ee465de381d25866224b9eae3512f0b42588d3
This commit is contained in:
Darla Ahlert 2017-06-01 17:19:32 -05:00
parent efc68f4347
commit 78dd37efc2
30 changed files with 30 additions and 30 deletions

View File

@ -14,7 +14,7 @@
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
{{- $mounts_barbican_api := .Values.mounts.barbican_api.barbican_api }} {{- $mounts_barbican_api := .Values.mounts.barbican_api.barbican_api }}
{{- $mounts_barbican_api_init := .Values.mounts.barbican_api.init_container }} {{- $mounts_barbican_api_init := .Values.mounts.barbican_api.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: barbican-api name: barbican-api

View File

@ -14,7 +14,7 @@
--- ---
kind: Deployment kind: Deployment
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
metadata: metadata:
labels: labels:
app: ceph app: ceph

View File

@ -14,7 +14,7 @@
--- ---
kind: Deployment kind: Deployment
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
metadata: metadata:
labels: labels:
app: ceph app: ceph

View File

@ -15,7 +15,7 @@
{{- if .Values.rgw.enabled }} {{- if .Values.rgw.enabled }}
--- ---
kind: Deployment kind: Deployment
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
metadata: metadata:
labels: labels:
app: ceph app: ceph

View File

@ -14,7 +14,7 @@
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: cinder-api name: cinder-api

View File

@ -14,7 +14,7 @@
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.scheduler }} {{- $dependencies := .Values.dependencies.scheduler }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: cinder-scheduler name: cinder-scheduler

View File

@ -14,7 +14,7 @@
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.volume }} {{- $dependencies := .Values.dependencies.volume }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: cinder-volume name: cinder-volume

View File

@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: etcd name: etcd

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
{{- $mounts_glance_api := .Values.mounts.glance_api.glance_api }} {{- $mounts_glance_api := .Values.mounts.glance_api.glance_api }}
{{- $mounts_glance_api_init := .Values.mounts.glance_api.init_container }} {{- $mounts_glance_api_init := .Values.mounts.glance_api.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: glance-api name: glance-api

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.registry }} {{- $dependencies := .Values.dependencies.registry }}
{{- $mounts_glance_registry := .Values.mounts.glance_registry.glance_registry }} {{- $mounts_glance_registry := .Values.mounts.glance_registry.glance_registry }}
{{- $mounts_glance_registry_init := .Values.mounts.glance_registry.init_container }} {{- $mounts_glance_registry_init := .Values.mounts.glance_registry.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: glance-registry name: glance-registry

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
{{- $mounts_heat_api := .Values.mounts.heat_api.heat_api }} {{- $mounts_heat_api := .Values.mounts.heat_api.heat_api }}
{{- $mounts_heat_api_init := .Values.mounts.heat_api.init_container }} {{- $mounts_heat_api_init := .Values.mounts.heat_api.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: heat-api name: heat-api

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.cfn }} {{- $dependencies := .Values.dependencies.cfn }}
{{- $mounts_heat_cfn := .Values.mounts.heat_cfn.heat_cfn }} {{- $mounts_heat_cfn := .Values.mounts.heat_cfn.heat_cfn }}
{{- $mounts_heat_cfn_init := .Values.mounts.heat_cfn.init_container }} {{- $mounts_heat_cfn_init := .Values.mounts.heat_cfn.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: heat-cfn name: heat-cfn

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.cloudwatch }} {{- $dependencies := .Values.dependencies.cloudwatch }}
{{- $mounts_heat_cloudwatch := .Values.mounts.heat_cloudwatch.heat_cloudwatch }} {{- $mounts_heat_cloudwatch := .Values.mounts.heat_cloudwatch.heat_cloudwatch }}
{{- $mounts_heat_cloudwatch_init := .Values.mounts.heat_cloudwatch.init_container }} {{- $mounts_heat_cloudwatch_init := .Values.mounts.heat_cloudwatch.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: heat-cloudwatch name: heat-cloudwatch

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.dashboard }} {{- $dependencies := .Values.dependencies.dashboard }}
{{- $mounts_horizon := .Values.mounts.horizon.horizon }} {{- $mounts_horizon := .Values.mounts.horizon.horizon }}
{{- $mounts_horizon_init := .Values.mounts.horizon.init_container }} {{- $mounts_horizon_init := .Values.mounts.horizon.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: horizon name: horizon

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: ingress-error-pages name: ingress-error-pages

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: {{ .Values.deployment_type }} kind: {{ .Values.deployment_type }}
metadata: metadata:
name: ingress-api name: ingress-api

View File

@ -16,7 +16,7 @@
{{- $mounts_keystone_api := .Values.mounts.keystone_api.keystone_api }} {{- $mounts_keystone_api := .Values.mounts.keystone_api.keystone_api }}
{{- $mounts_keystone_api_init := .Values.mounts.keystone_api.init_container }} {{- $mounts_keystone_api_init := .Values.mounts.keystone_api.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: keystone-api name: keystone-api

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
{{- $mounts_magnum_api := .Values.mounts.magnum_api.magnum_api }} {{- $mounts_magnum_api := .Values.mounts.magnum_api.magnum_api }}
{{- $mounts_magnum_api_init := .Values.mounts.magnum_api.init_container }} {{- $mounts_magnum_api_init := .Values.mounts.magnum_api.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: magnum-api name: magnum-api

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: memcached name: memcached

View File

@ -16,7 +16,7 @@
{{- $mounts_mistral_api := .Values.mounts.mistral_api.mistral_api }} {{- $mounts_mistral_api := .Values.mounts.mistral_api.mistral_api }}
{{- $mounts_mistral_api_init := .Values.mounts.mistral_api.init_container }} {{- $mounts_mistral_api_init := .Values.mounts.mistral_api.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: mistral-api name: mistral-api

View File

@ -16,7 +16,7 @@
{{- $mounts_mistral_executor := .Values.mounts.mistral_executor.mistral_executor }} {{- $mounts_mistral_executor := .Values.mounts.mistral_executor.mistral_executor }}
{{- $mounts_mistral_executor_init := .Values.mounts.mistral_executor.init_container }} {{- $mounts_mistral_executor_init := .Values.mounts.mistral_executor.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: mistral-executor name: mistral-executor

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.server }} {{- $dependencies := .Values.dependencies.server }}
{{- $mounts_neutron_server := .Values.mounts.neutron_server.neutron_server }} {{- $mounts_neutron_server := .Values.mounts.neutron_server.neutron_server }}
{{- $mounts_neutron_server_init := .Values.mounts.neutron_server.init_container }} {{- $mounts_neutron_server_init := .Values.mounts.neutron_server.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: neutron-server name: neutron-server

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
{{- $mounts_nova_api_metadata := .Values.mounts.nova_api_metadata.nova_api_metadata }} {{- $mounts_nova_api_metadata := .Values.mounts.nova_api_metadata.nova_api_metadata }}
{{- $mounts_nova_api_metadata_init := .Values.mounts.nova_api_metadata.init_container }} {{- $mounts_nova_api_metadata_init := .Values.mounts.nova_api_metadata.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: nova-api-metadata name: nova-api-metadata

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
{{- $mounts_nova_api_osapi := .Values.mounts.nova_api_osapi.nova_api_osapi }} {{- $mounts_nova_api_osapi := .Values.mounts.nova_api_osapi.nova_api_osapi }}
{{- $mounts_nova_api_osapi_init := .Values.mounts.nova_api_osapi.init_container }} {{- $mounts_nova_api_osapi_init := .Values.mounts.nova_api_osapi.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: nova-api-osapi name: nova-api-osapi

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.conductor }} {{- $dependencies := .Values.dependencies.conductor }}
{{- $mounts_nova_conductor := .Values.mounts.nova_conductor.nova_conductor }} {{- $mounts_nova_conductor := .Values.mounts.nova_conductor.nova_conductor }}
{{- $mounts_nova_conductor_init := .Values.mounts.nova_conductor.init_container }} {{- $mounts_nova_conductor_init := .Values.mounts.nova_conductor.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: nova-conductor name: nova-conductor

View File

@ -17,7 +17,7 @@
{{- $mounts_nova_consoleauth := .Values.mounts.nova_consoleauth.nova_conductor }} {{- $mounts_nova_consoleauth := .Values.mounts.nova_consoleauth.nova_conductor }}
{{- $mounts_nova_consoleauth_init := .Values.mounts.nova_consoleauth.init_container }} {{- $mounts_nova_consoleauth_init := .Values.mounts.nova_consoleauth.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: nova-consoleauth name: nova-consoleauth

View File

@ -17,7 +17,7 @@
{{- $mounts_nova_scheduler := .Values.mounts.nova_scheduler.nova_conductor }} {{- $mounts_nova_scheduler := .Values.mounts.nova_scheduler.nova_conductor }}
{{- $mounts_nova_scheduler_init := .Values.mounts.nova_scheduler.init_container }} {{- $mounts_nova_scheduler_init := .Values.mounts.nova_scheduler.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: nova-scheduler name: nova-scheduler

View File

@ -15,7 +15,7 @@
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies }} {{- $dependencies := .Values.dependencies }}
kind: Deployment kind: Deployment
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
metadata: metadata:
name: rabbitmq name: rabbitmq
spec: spec:

View File

@ -16,7 +16,7 @@
{{- $dependencies := .Values.dependencies.api }} {{- $dependencies := .Values.dependencies.api }}
{{- $mounts_senlin_api := .Values.mounts.senlin_api.senlin_api }} {{- $mounts_senlin_api := .Values.mounts.senlin_api.senlin_api }}
{{- $mounts_senlin_api_init := .Values.mounts.senlin_api.init_container }} {{- $mounts_senlin_api_init := .Values.mounts.senlin_api.init_container }}
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: senlin-api name: senlin-api

View File

@ -19,7 +19,7 @@ spec:
app: nfs-provisioner app: nfs-provisioner
--- ---
kind: Deployment kind: Deployment
apiVersion: extensions/v1beta1 apiVersion: apps/v1beta1
metadata: metadata:
name: nfs-provisioner name: nfs-provisioner
spec: spec: