From 7387ecd71c46ecbc000ab431b5e16387d3ba1e04 Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Tue, 19 Feb 2019 08:19:45 -0600 Subject: [PATCH] Updated missed daemonsets and deployments to apps/v1 This updates daemonsets and deployments from extensions/v1beta1 to apps/v1. These templates were either missed or overlooked when added, and this change brings them up to the same api version used for all other daemonsets and deployments Change-Id: I6d2aba7791ad5eabd23785c01aed01d4f8e53d39 --- calico/templates/daemonset-calico-etcd.yaml | 2 +- calico/templates/daemonset-calico-node.yaml | 2 +- calico/templates/deployment-calico-kube-controllers.yaml | 2 +- elastic-apm-server/templates/deployment.yaml | 2 +- elastic-filebeat/templates/daemonset.yaml | 2 +- elastic-metricbeat/templates/daemonset-node-metrics.yaml | 2 +- elastic-packetbeat/templates/daemonset.yaml | 2 +- .../templates/monitoring/prometheus/exporter-deployment.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/calico/templates/daemonset-calico-etcd.yaml b/calico/templates/daemonset-calico-etcd.yaml index bfbafc473..b77e8631c 100644 --- a/calico/templates/daemonset-calico-etcd.yaml +++ b/calico/templates/daemonset-calico-etcd.yaml @@ -24,7 +24,7 @@ limitations under the License. # This manifest installs the Calico etcd on the kubeadm master. This uses a DaemonSet # to force it to run on the master even when the master isn't schedulable, and uses # nodeSelector to ensure it only runs on the master. -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: calico-etcd diff --git a/calico/templates/daemonset-calico-node.yaml b/calico/templates/daemonset-calico-node.yaml index c680a18bb..0a0f56502 100644 --- a/calico/templates/daemonset-calico-node.yaml +++ b/calico/templates/daemonset-calico-node.yaml @@ -81,7 +81,7 @@ rules: # as the Calico CNI plugins and network config on # each master and worker node in a Kubernetes cluster. kind: DaemonSet -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: calico-node annotations: diff --git a/calico/templates/deployment-calico-kube-controllers.yaml b/calico/templates/deployment-calico-kube-controllers.yaml index e8a3dbfb3..9ae9ca581 100644 --- a/calico/templates/deployment-calico-kube-controllers.yaml +++ b/calico/templates/deployment-calico-kube-controllers.yaml @@ -61,7 +61,7 @@ rules: # This manifest deploys the Calico Kubernetes controllers. # See https://github.com/projectcalico/kube-controllers -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: calico-kube-controllers diff --git a/elastic-apm-server/templates/deployment.yaml b/elastic-apm-server/templates/deployment.yaml index 19ff4fffc..0f5490bf6 100644 --- a/elastic-apm-server/templates/deployment.yaml +++ b/elastic-apm-server/templates/deployment.yaml @@ -50,7 +50,7 @@ rules: - list - watch --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: elastic-apm-server diff --git a/elastic-filebeat/templates/daemonset.yaml b/elastic-filebeat/templates/daemonset.yaml index 655307e94..828b789c6 100644 --- a/elastic-filebeat/templates/daemonset.yaml +++ b/elastic-filebeat/templates/daemonset.yaml @@ -73,7 +73,7 @@ rules: - list - watch --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: filebeat diff --git a/elastic-metricbeat/templates/daemonset-node-metrics.yaml b/elastic-metricbeat/templates/daemonset-node-metrics.yaml index 64c6e091b..85b8a9018 100644 --- a/elastic-metricbeat/templates/daemonset-node-metrics.yaml +++ b/elastic-metricbeat/templates/daemonset-node-metrics.yaml @@ -73,7 +73,7 @@ rules: - list - watch --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: metricbeat-node-modules diff --git a/elastic-packetbeat/templates/daemonset.yaml b/elastic-packetbeat/templates/daemonset.yaml index b2f4a18af..b1e790054 100644 --- a/elastic-packetbeat/templates/daemonset.yaml +++ b/elastic-packetbeat/templates/daemonset.yaml @@ -72,7 +72,7 @@ rules: - list - watch --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: packetbeat diff --git a/postgresql/templates/monitoring/prometheus/exporter-deployment.yaml b/postgresql/templates/monitoring/prometheus/exporter-deployment.yaml index c875a12cb..711032275 100644 --- a/postgresql/templates/monitoring/prometheus/exporter-deployment.yaml +++ b/postgresql/templates/monitoring/prometheus/exporter-deployment.yaml @@ -19,7 +19,7 @@ limitations under the License. {{- $serviceAccountName := "prometheus-postgresql-exporter" }} {{ tuple $envAll "prometheus_postgresql_exporter" $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }} --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: prometheus-postgresql-exporter