Update apiversion

For k8s 1.16+, the extensions/v1beta1 has been replaced by
apps/v1 for DaemonSet. This patch set updates documents in
the OpenStack-Helm repository.

Change-Id: I8512b9f3202b2bf56b77408aca8d239daab32add
Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
Tin Lam 2019-10-03 14:23:35 -05:00 committed by Tin Lam
parent 3784a3fe2f
commit 853f321f7b

View File

@ -32,7 +32,7 @@ Consider the following (simplified) secret and daemonset pairing example:
# Simplified daemonset definition # Simplified daemonset definition
# =============================== # ===============================
--- ---
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: mychart-name name: mychart-name
@ -86,7 +86,7 @@ has been substituted):
# access any env data needed to build the template (e.g., envAll.Values...) # access any env data needed to build the template (e.g., envAll.Values...)
{{- with $envAll }} {{- with $envAll }}
--- ---
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: {{ $daemonset }} name: {{ $daemonset }}