From 82b38f6707491a53e090f19ba0a1f9b2e6fb3f10 Mon Sep 17 00:00:00 2001 From: Sergio Moya Date: Thu, 4 Oct 2018 18:49:11 +0200 Subject: [PATCH] Add crd-install helm hook to crds templates --- install/helm/agones/templates/crds/fleet.yaml | 2 ++ .../helm/agones/templates/crds/fleetallocation.yaml | 2 ++ .../helm/agones/templates/crds/fleetautoscaler.yaml | 2 ++ install/helm/agones/templates/crds/gameserver.yaml | 2 ++ install/helm/agones/templates/crds/gameserverset.yaml | 2 ++ install/yaml/install.yaml | 10 ++++++++++ 6 files changed, 20 insertions(+) diff --git a/install/helm/agones/templates/crds/fleet.yaml b/install/helm/agones/templates/crds/fleet.yaml index 35773bd2e6..be8c83764b 100644 --- a/install/helm/agones/templates/crds/fleet.yaml +++ b/install/helm/agones/templates/crds/fleet.yaml @@ -22,6 +22,8 @@ metadata: chart: {{ template "agones.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 diff --git a/install/helm/agones/templates/crds/fleetallocation.yaml b/install/helm/agones/templates/crds/fleetallocation.yaml index dfaee55d56..8e17a917b9 100644 --- a/install/helm/agones/templates/crds/fleetallocation.yaml +++ b/install/helm/agones/templates/crds/fleetallocation.yaml @@ -22,6 +22,8 @@ metadata: chart: {{ template "agones.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 diff --git a/install/helm/agones/templates/crds/fleetautoscaler.yaml b/install/helm/agones/templates/crds/fleetautoscaler.yaml index 15c0e9a1cc..7838cf696b 100644 --- a/install/helm/agones/templates/crds/fleetautoscaler.yaml +++ b/install/helm/agones/templates/crds/fleetautoscaler.yaml @@ -22,6 +22,8 @@ metadata: chart: {{ template "agones.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 diff --git a/install/helm/agones/templates/crds/gameserver.yaml b/install/helm/agones/templates/crds/gameserver.yaml index 63513259e4..011c922fb9 100644 --- a/install/helm/agones/templates/crds/gameserver.yaml +++ b/install/helm/agones/templates/crds/gameserver.yaml @@ -22,6 +22,8 @@ metadata: chart: {{ template "agones.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 diff --git a/install/helm/agones/templates/crds/gameserverset.yaml b/install/helm/agones/templates/crds/gameserverset.yaml index aa7fc55768..b20c90c210 100644 --- a/install/helm/agones/templates/crds/gameserverset.yaml +++ b/install/helm/agones/templates/crds/gameserverset.yaml @@ -22,6 +22,8 @@ metadata: chart: {{ template "agones.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 diff --git a/install/yaml/install.yaml b/install/yaml/install.yaml index ca4fe35c46..5b70e2e408 100644 --- a/install/yaml/install.yaml +++ b/install/yaml/install.yaml @@ -163,6 +163,8 @@ metadata: chart: agones-0.6.0-rc release: agones-manual heritage: Tiller + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 @@ -327,6 +329,8 @@ metadata: chart: agones-0.6.0-rc release: agones-manual heritage: Tiller + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 @@ -376,6 +380,8 @@ metadata: chart: agones-0.6.0-rc release: agones-manual heritage: Tiller + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 @@ -444,6 +450,8 @@ metadata: chart: agones-0.6.0-rc release: agones-manual heritage: Tiller + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1 @@ -586,6 +594,8 @@ metadata: chart: agones-0.6.0-rc release: agones-manual heritage: Tiller + annotations: + "helm.sh/hook": crd-install spec: group: stable.agones.dev version: v1alpha1