From 24ed1b65e0d57c98f44098242696ad4e772cfa6f Mon Sep 17 00:00:00 2001 From: Cyril TOVENA Date: Fri, 8 Jun 2018 10:01:21 -0400 Subject: [PATCH] use the helm --namespace convention and drop agones.namespace to follow helm standard. - (Conflict merge) Update Helm App Version - update doc as requested --- build/Makefile | 4 +- install/helm/README.md | 68 +-- install/helm/agones/templates/NOTES.txt | 4 +- .../templates/admissionregistration.yaml | 11 +- install/helm/agones/templates/controller.yaml | 1 - install/helm/agones/templates/namespace.yaml | 23 - install/helm/agones/templates/service.yaml | 1 - .../templates/serviceaccounts/controller.yaml | 5 +- .../agones/templates/serviceaccounts/sdk.yaml | 1 - install/helm/agones/values.yaml | 1 - install/yaml/install.yaml | 430 ++++++++---------- 11 files changed, 249 insertions(+), 300 deletions(-) delete mode 100644 install/helm/agones/templates/namespace.yaml diff --git a/build/Makefile b/build/Makefile index 8ffaa2a08e..c3ef2cdde6 100644 --- a/build/Makefile +++ b/build/Makefile @@ -126,7 +126,7 @@ install: ALWAYS_PULL_SIDECAR := true install: IMAGE_PULL_POLICY := "Always" install: ensure-build-image docker run --rm $(common_mounts) $(DOCKER_RUN_ARGS) $(build_tag) \ - helm upgrade --install --namespace=default \ + helm upgrade --install --namespace=agones-system \ --set agones.image.tag=$(VERSION),agones.image.registry=$(REGISTRY),agones.image.controller.pullPolicy=$(IMAGE_PULL_POLICY),agones.image.sdk.alwaysPull=$(ALWAYS_PULL_SIDECAR) \ agones $(mount_path)/install/helm/agones/ @@ -176,7 +176,7 @@ push-agones-sdk-image: ensure-build-image # Generate the static install script gen-install: ensure-build-image docker run --rm $(common_mounts) $(DOCKER_RUN_ARGS) $(build_tag) bash -c \ - 'helm template --name=agones-manual $(mount_path)/install/helm/agones \ + 'helm template --name=agones-manual --namespace agones-system $(mount_path)/install/helm/agones \ --set agones.controller.generateTLS=false \ > $(mount_path)/install/yaml/install.yaml' diff --git a/install/helm/README.md b/install/helm/README.md index 986f0714b6..53992c90e1 100644 --- a/install/helm/README.md +++ b/install/helm/README.md @@ -26,8 +26,25 @@ $ helm install --name my-release agones The command deploys Agones on the Kubernetes cluster with the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. - > **Tip**: List all releases using `helm list` +> +--- + +> If you are installing a development build of Agones (i.e. not the 0.2.0 release), you will need to install Agones the following way: + +⚠️⚠️⚠️ **This is currently a development feature and has not been released** ⚠️⚠️⚠️ + +```bash +$ cd install/helm/ +$ helm install --name my-release --namespace agones-system agones --set agones.image.tag=0.3.0-481970d +``` + +The full list of available tags is [here](https://console.cloud.google.com/gcr/images/agones-images/) + +_We recommend to install Agones in its own namespaces (like `agones-system` as shown above) +you can use the helm `--namespace` parameter to specify a different namespace._ + +--- ## Namespaces @@ -37,7 +54,7 @@ For example to use `default` **and** `xbox` namespaces: ```bash $ kubectl create namespace xbox -$ helm install --set "gameservers.namespaces={default,xbox}"--name my-release agones +$ helm install --set "gameservers.namespaces={default,xbox}" --namespace agones-system --name my-release agones ``` > You need to create your namespaces before installing Agones. @@ -71,33 +88,32 @@ The command removes all the Kubernetes components associated with the chart and The following tables lists the configurable parameters of the Agones chart and their default values. -| Parameter | Description | Default | -| ------------------------------------ | ----------------------------------------------------------------| ---------------------------| -| `agones.rbacEnabled` | Creates RBAC resources. Must be set for any cluster configured with RBAC | `true` | -| `agones.namespace` | Namespace to use to deploy Agones | `agones-system` | -| `agones.serviceaccount.controller` | Service account name for the controller | `agones-controller` | -| `agones.serviceaccount.sdk` | Service account name for the sdk | `agones-sdk` | -| `agones.image.registry` | Global image registry for all images | `gcr.io/agones-images` | -| `agones.image.tag` | Global image tag for all images | `0.2.0` | -| `agones.image.controller.name` | Image name for the controller | `agones-controller` | -| `agones.image.controller.pullPolicy` | Image pull policy for the controller | `IfNotPresent` | -| `agones.image.sdk.name` | Image name for the sdk | `agones-sdk` | -| `agones.image.sdk.alwaysPull` | Tells if the sdk image should always be pulled | `false` | -| `agones.controller.healthCheck.http.port` | Port to use for liveness probe service | `8080` | -| `agones.controller.healthCheck.initialDelaySeconds` | Initial delay before performing the first probe (in seconds) | `3` | -| `agones.controller.healthCheck.periodSeconds` | Seconds between every liveness probe (in seconds) | `3` | -| `agones.controller.healthCheck.failureThreshold` | Number of times before giving up (in seconds) | `3` | -| `agones.controller.healthCheck.timeoutSeconds` | Number of seconds after which the probe times out (in seconds) | `1` | -| `agones.controller.resources` | Controller resource requests/limit | `{}` -| `agones.controller.generateTLS` | Set to true to generate TLS certificates or false to provide your own certificates in `certs/*` | `true` -| `gameservers.namespaces` | a list of namespaces you are planning to use to deploy game servers | `["defaut"]` | -| `gameservers.minPort` | Minimum port to use for dynamic port allocation | `7000` | -| `gameservers.maxPort` | Maximum port to use for dynamic port allocation | `8000` | +| Parameter | Description | Default | +| --------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------- | +| `agones.rbacEnabled` | Creates RBAC resources. Must be set for any cluster configured with RBAC | `true` | +| `agones.serviceaccount.controller` | Service account name for the controller | `agones-controller` | +| `agones.serviceaccount.sdk` | Service account name for the sdk | `agones-sdk` | +| `agones.image.registry` | Global image registry for all images | `gcr.io/agones-images` | +| `agones.image.tag` | Global image tag for all images | `0.2.0` | +| `agones.image.controller.name` | Image name for the controller | `agones-controller` | +| `agones.image.controller.pullPolicy` | Image pull policy for the controller | `IfNotPresent` | +| `agones.image.sdk.name` | Image name for the sdk | `agones-sdk` | +| `agones.image.sdk.alwaysPull` | Tells if the sdk image should always be pulled | `false` | +| `agones.controller.healthCheck.http.port` | Port to use for liveness probe service | `8080` | +| `agones.controller.healthCheck.initialDelaySeconds` | Initial delay before performing the first probe (in seconds) | `3` | +| `agones.controller.healthCheck.periodSeconds` | Seconds between every liveness probe (in seconds) | `3` | +| `agones.controller.healthCheck.failureThreshold` | Number of times before giving up (in seconds) | `3` | +| `agones.controller.healthCheck.timeoutSeconds` | Number of seconds after which the probe times out (in seconds) | `1` | +| `agones.controller.resources` | Controller resource requests/limit | `{}` | +| `agones.controller.generateTLS` | Set to true to generate TLS certificates or false to provide your own certificates in `certs/*` | `true` | +| `gameservers.namespaces` | a list of namespaces you are planning to use to deploy game servers | `["defaut"]` | +| `gameservers.minPort` | Minimum port to use for dynamic port allocation | `7000` | +| `gameservers.maxPort` | Maximum port to use for dynamic port allocation | `8000` | Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, ```bash -$ helm install --name my-release \ +$ helm install --name my-release --namespace agones-system \ --set agones.namespace=mynamespace,gameservers.minPort=1000,gamesevers.maxPort=5000 agones ``` @@ -106,7 +122,7 @@ The above command sets the namespace where Agones is deployed to `mynamespace`. Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example, ```bash -$ helm install --name my-release -f values.yaml agones +$ helm install --name my-release --namespace agones-system -f values.yaml agones ``` > **Tip**: You can use the default [values.yaml](agones/values.yaml) diff --git a/install/helm/agones/templates/NOTES.txt b/install/helm/agones/templates/NOTES.txt index 1b6d8df44e..b98556d58b 100644 --- a/install/helm/agones/templates/NOTES.txt +++ b/install/helm/agones/templates/NOTES.txt @@ -1,6 +1,6 @@ -The Agones controller has been installed in the namespace {{ .Values.agones.namespace }}. +The Agones controller has been installed in the namespace {{ .Release.Namespace }}. -You can watch the status by running 'kubectl --namespace {{ .Values.agones.namespace }} get pods -o wide -w {{ .Values.agones.serviceaccount.controller }}' +You can watch the status by running 'kubectl --namespace {{ .Release.Namespace }} get pods -o wide -w {{ .Values.agones.serviceaccount.controller }}' Once ready you can create your first GameServer using our examples: diff --git a/install/helm/agones/templates/admissionregistration.yaml b/install/helm/agones/templates/admissionregistration.yaml index 9a1e9f0c37..b8012ea31d 100644 --- a/install/helm/agones/templates/admissionregistration.yaml +++ b/install/helm/agones/templates/admissionregistration.yaml @@ -13,22 +13,21 @@ # limitations under the License. {{- $ca := genCA "admission-controller-ca" 3650 }} {{- $cn := printf "agones-controller-service" }} -{{- $altName1 := printf "agones-controller-service.%s" .Values.agones.namespace }} -{{- $altName2 := printf "agones-controller-service.%s.svc" .Values.agones.namespace }} +{{- $altName1 := printf "agones-controller-service.%s" .Release.Namespace }} +{{- $altName2 := printf "agones-controller-service.%s.svc" .Release.Namespace }} {{- $cert := genSignedCert $cn nil (list $altName1 $altName2) 3650 $ca }} --- apiVersion: admissionregistration.k8s.io/v1beta1 kind: ValidatingWebhookConfiguration metadata: name: agones-validation-webhook - namespace: {{ .Values.agones.namespace }} webhooks: - name: validations.stable.agones.dev failurePolicy: Fail clientConfig: service: name: agones-controller-service - namespace: {{ .Values.agones.namespace }} + namespace: {{ .Release.Namespace }} path: /validate {{- if .Values.agones.controller.generateTLS }} caBundle: {{ b64enc $ca.Cert }} @@ -59,7 +58,6 @@ apiVersion: admissionregistration.k8s.io/v1beta1 kind: MutatingWebhookConfiguration metadata: name: agones-mutation-webhook - namespace: {{ .Values.agones.namespace }} labels: component: controller app: {{ template "agones.name" . }} @@ -72,7 +70,7 @@ webhooks: clientConfig: service: name: agones-controller-service - namespace: {{ .Values.agones.namespace }} + namespace: {{ .Release.Namespace }} path: /mutate {{- if .Values.agones.controller.generateTLS }} caBundle: {{ b64enc $ca.Cert }} @@ -95,7 +93,6 @@ apiVersion: v1 kind: Secret metadata: name: {{ template "agones.fullname" . }}-cert - namespace: {{ .Values.agones.namespace }} labels: app: {{ template "agones.fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" diff --git a/install/helm/agones/templates/controller.yaml b/install/helm/agones/templates/controller.yaml index 1118bb0cee..3ca1edd906 100644 --- a/install/helm/agones/templates/controller.yaml +++ b/install/helm/agones/templates/controller.yaml @@ -16,7 +16,6 @@ apiVersion: extensions/v1beta1 kind: Deployment metadata: name: agones-controller - namespace: {{ .Values.agones.namespace}} labels: component: controller app: {{ template "agones.name" . }} diff --git a/install/helm/agones/templates/namespace.yaml b/install/helm/agones/templates/namespace.yaml deleted file mode 100644 index 99c75f5a21..0000000000 --- a/install/helm/agones/templates/namespace.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2018 Google Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: Namespace -metadata: - name: {{ .Values.agones.namespace }} - labels: - app: {{ template "agones.name" . }} - chart: {{ template "agones.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} \ No newline at end of file diff --git a/install/helm/agones/templates/service.yaml b/install/helm/agones/templates/service.yaml index e073765633..89fe042a7b 100644 --- a/install/helm/agones/templates/service.yaml +++ b/install/helm/agones/templates/service.yaml @@ -16,7 +16,6 @@ apiVersion: v1 kind: Service metadata: name: agones-controller-service - namespace: {{ .Values.agones.namespace }} labels: component: controller app: {{ template "agones.name" . }} diff --git a/install/helm/agones/templates/serviceaccounts/controller.yaml b/install/helm/agones/templates/serviceaccounts/controller.yaml index 87de2d2504..7179a01db6 100644 --- a/install/helm/agones/templates/serviceaccounts/controller.yaml +++ b/install/helm/agones/templates/serviceaccounts/controller.yaml @@ -16,7 +16,6 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ .Values.agones.serviceaccount.controller }} - namespace: {{ .Values.agones.namespace }} labels: app: {{ template "agones.name" . }} chart: {{ template "agones.chart" . }} @@ -28,7 +27,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: {{ .Values.agones.serviceaccount.controller }} - namespace: {{ .Values.agones.namespace }} labels: app: {{ template "agones.name" . }} chart: {{ template "agones.chart" . }} @@ -58,7 +56,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ .Values.agones.serviceaccount.controller }}-access - namespace: {{ .Values.agones.namespace }} labels: app: {{ template "agones.name" . }} chart: {{ template "agones.chart" . }} @@ -66,7 +63,7 @@ metadata: heritage: {{ .Release.Service }} subjects: - kind: User - name: system:serviceaccount:{{ .Values.agones.namespace }}:{{ .Values.agones.serviceaccount.controller }} + name: system:serviceaccount:{{ .Release.Namespace }}:{{ .Values.agones.serviceaccount.controller }} apiGroup: rbac.authorization.k8s.io roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/install/helm/agones/templates/serviceaccounts/sdk.yaml b/install/helm/agones/templates/serviceaccounts/sdk.yaml index 78f5d7b1e6..a00fd5e1c7 100644 --- a/install/helm/agones/templates/serviceaccounts/sdk.yaml +++ b/install/helm/agones/templates/serviceaccounts/sdk.yaml @@ -29,7 +29,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: {{ .Values.agones.serviceaccount.sdk }} - namespace: {{ .Values.agones.namespace }} labels: app: {{ template "agones.name" . }} chart: {{ template "agones.chart" . }} diff --git a/install/helm/agones/values.yaml b/install/helm/agones/values.yaml index 45aaa515fc..acc38e467b 100644 --- a/install/helm/agones/values.yaml +++ b/install/helm/agones/values.yaml @@ -15,7 +15,6 @@ # Declare variables to be passed into your templates. agones: - namespace: agones-system rbacEnabled: true serviceaccount: controller: agones-controller diff --git a/install/yaml/install.yaml b/install/yaml/install.yaml index 704e4fc29f..2953ef935c 100644 --- a/install/yaml/install.yaml +++ b/install/yaml/install.yaml @@ -18,7 +18,6 @@ apiVersion: v1 kind: ServiceAccount metadata: name: agones-controller - namespace: agones-system labels: app: agones chart: agones-0.3.0 @@ -29,7 +28,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: agones-controller - namespace: agones-system labels: app: agones chart: agones-0.3.0 @@ -59,7 +57,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: agones-controller-access - namespace: agones-system labels: app: agones chart: agones-0.3.0 @@ -104,7 +101,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: agones-sdk - namespace: agones-system labels: app: agones chart: agones-0.3.0 @@ -329,234 +325,6 @@ spec: pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" --- -# Source: agones/templates/service.yaml -# Copyright 2018 Google Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: Service -metadata: - name: agones-controller-service - namespace: agones-system - labels: - component: controller - app: agones - chart: agones-0.3.0 - release: agones-manual - heritage: Tiller -spec: - selector: - stable.agones.dev/role: controller - ports: - - port: 443 - targetPort: 8081 ---- -# Source: agones/templates/controller.yaml -# Copyright 2018 Google Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: extensions/v1beta1 -kind: Deployment -metadata: - name: agones-controller - namespace: agones-system - labels: - component: controller - app: agones - chart: agones-0.3.0 - release: agones-manual - heritage: Tiller -spec: - replicas: 1 - strategy: - type: Recreate - template: - metadata: - labels: - stable.agones.dev/role: controller - app: agones - chart: agones-0.3.0 - release: agones-manual - heritage: Tiller - spec: - serviceAccountName: agones-controller - containers: - - name: agones-controller - image: "gcr.io/agones-images/agones-controller:0.3.0" - imagePullPolicy: IfNotPresent - env: - - name: ALWAYS_PULL_SIDECAR # set the sidecar imagePullPolicy to Always - value: "false" - # minimum port that can be exposed to GameServer traffic - - name: MIN_PORT - value: "7000" - # maximum port that can be exposed to GameServer traffic - - name: MAX_PORT - value: "8000" - - name: SIDECAR # overwrite the GameServer sidecar image that is used - value: "gcr.io/agones-images/agones-sdk:0.3.0" - livenessProbe: - httpGet: - path: /live - port: 8080 - initialDelaySeconds: 3 - periodSeconds: 3 - failureThreshold: 3 - timeoutSeconds: 1 - volumeMounts: - - name: certs - mountPath: /home/agones/certs - readOnly: true - volumes: - - name: certs - secret: - secretName: agones-manual-cert - ---- -# Source: agones/templates/admissionregistration.yaml -# Copyright 2018 Google Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. ---- -apiVersion: admissionregistration.k8s.io/v1beta1 -kind: ValidatingWebhookConfiguration -metadata: - name: agones-validation-webhook - namespace: agones-system -webhooks: - - name: validations.stable.agones.dev - failurePolicy: Fail - clientConfig: - service: - name: agones-controller-service - namespace: agones-system - path: /validate - caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVLVENDQXhHZ0F3SUJBZ0lKQU9KUDY0MTB3dkdTTUEwR0NTcUdTSWIzRFFFQkN3VUFNSUdxTVFzd0NRWUQKVlFRR0V3SlZVekVUTUJFR0ExVUVDQXdLVTI5dFpTMVRkR0YwWlRFUE1BMEdBMVVFQ2d3R1FXZHZibVZ6TVE4dwpEUVlEVlFRTERBWkJaMjl1WlhNeE5EQXlCZ05WQkFNTUsyRm5iMjVsY3kxamIyNTBjbTlzYkdWeUxYTmxjblpwClkyVXVZV2R2Ym1WekxYTjVjM1JsYlM1emRtTXhMakFzQmdrcWhraUc5dzBCQ1FFV0gyRm5iMjVsY3kxa2FYTmoKZFhOelFHZHZiMmRzWldkeWIzVndjeTVqYjIwd0ho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Uc5dzBCQVFzRkFBT0NBUUVBSEtFQwprdEVqWU5VQ0ErbXlzejRvclc3cFJVdmhCSERWU2dzWTZlRVZSTHpmLzF5SVpFMHU2NTZrcEs2T1Q3TWhKR2xVCkt3R1NTb1VCQnpWZ1VzWmpEbTdQZ2JrNGlZem40TTF4THpiTFFCcjNNYzV6WEhlZlB2YmltaEQ1NWNMenBWRnUKVlFtQm1aVjJOalU1RHVTZFJuZGxjUGFOY2cvdU9jdlpLNEtZMUtDQkEzRW9BUUlrcHpIWDJpVU1veGlSdlpWTgpORXdnRlR0SUdCWW4wSGZML3ZnT3NIOGZWck1Va3VHMnZoR2RlWEJwWmlxL0JaSmJaZU4yckNmMmdhWDFRSXYwCkVLYmN1RnFNOThXVDVaVlpSdFgxWTNSd2V2ZzRteFlKWEN1SDZGRjlXOS9TejI5NEZ5Mk9CS0I4SkFWYUV4OW4KMS9pNmZJZmZHbkhUWFdIc1ZRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= - rules: - - apiGroups: - - stable.agones.dev - resources: - - "gameservers" - - "fleetallocations" - apiVersions: - - "v1alpha1" - operations: - - CREATE - - apiGroups: - - stable.agones.dev - resources: - - "gameserversets" - - "fleetallocations" - apiVersions: - - "v1alpha1" - operations: - - UPDATE ---- -apiVersion: admissionregistration.k8s.io/v1beta1 -kind: MutatingWebhookConfiguration -metadata: - name: agones-mutation-webhook - namespace: agones-system - labels: - component: controller - app: agones - chart: agones-0.3.0 - release: agones-manual - heritage: Tiller -webhooks: - - name: mutations.stable.agones.dev - failurePolicy: Fail - clientConfig: - service: - name: agones-controller-service - namespace: agones-system - path: /mutate - caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVLVENDQXhHZ0F3SUJBZ0lKQU9KUDY0MTB3dkdTTUEwR0NTcUdTSWIzRFFFQkN3VUFNSUdxTVFzd0NRWUQKVlFRR0V3SlZVekVUTUJFR0ExVUVDQXdLVTI5dFpTMVRkR0YwW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WMHppWm1VdkFBRjJaeApEWmhIVWNvRlBIQXdUbDc1TkFobkhwTWxMTnA1TDd0Y1ZkeVQ4QjJHUnMrc2xRSURBUUFCbzFBd1RqQWRCZ05WCkhRNEVGZ1FVZ3YxblRQYVFKU04zTHFtNWpJalc0eEhtZEcwd0h3WURWUjBqQkJnd0ZvQVVndjFuVFBhUUpTTjMKTHFtNWpJalc0eEhtZEcwd0RBWURWUjBUQkFVd0F3RUIvekFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBSEtFQwprdEVqWU5VQ0ErbXlzejRvclc3cFJVdmhCSERWU2dzWTZlRVZSTHpmLzF5SVpFMHU2NTZrcEs2T1Q3TWhKR2xVCkt3R1NTb1VCQnpWZ1VzWmpEbTdQZ2JrNGlZem40TTF4THpiTFFCcjNNYzV6WEhlZlB2YmltaEQ1NWNMenBWRnUKVlFtQm1aVjJOalU1RHVTZFJuZGxjUGFOY2cvdU9jdlpLNEtZMUtDQkEzRW9BUUlrcHpIWDJpVU1veGlSdlpWTgpORXdnRlR0SUdCWW4wSGZML3ZnT3NIOGZWck1Va3VHMnZoR2RlWEJwWmlxL0JaSmJaZU4yckNmMmdhWDFRSXYwCkVLYmN1RnFNOThXVDVaVlpSdFgxWTNSd2V2ZzRteFlKWEN1SDZGRjlXOS9TejI5NEZ5Mk9CS0I4SkFWYUV4OW4KMS9pNmZJZmZHbkhUWFdIc1ZRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= - rules: - - apiGroups: - - stable.agones.dev - resources: - - "gameservers" - - "fleets" - - "fleetallocations" - apiVersions: - - "v1alpha1" - operations: - - CREATE ---- -apiVersion: v1 -kind: Secret -metadata: - name: agones-manual-cert - namespace: agones-system - labels: - app: agones-manual - chart: "agones-0.3.0" - release: "agones-manual" - heritage: "Tiller" -type: Opaque -data: - server.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVLVENDQXhHZ0F3SUJBZ0lKQU9KUDY0MTB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google Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: Namespace -metadata: - name: agones-system - labels: - app: agones - chart: agones-0.3.0 - release: agones-manual - heritage: Tiller ---- # Source: agones/templates/crds/gameserver.yaml # Copyright 2018 Google Inc. All Rights Reserved. # @@ -825,3 +593,201 @@ spec: type: integer minimum: 1 maximum: 2147483648 +--- +# Source: agones/templates/service.yaml +# Copyright 2018 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +apiVersion: v1 +kind: Service +metadata: + name: agones-controller-service + labels: + component: controller + app: agones + chart: agones-0.3.0 + release: agones-manual + heritage: Tiller +spec: + selector: + stable.agones.dev/role: controller + ports: + - port: 443 + targetPort: 8081 +--- +# Source: agones/templates/controller.yaml +# Copyright 2018 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + name: agones-controller + labels: + component: controller + app: agones + chart: agones-0.3.0 + release: agones-manual + heritage: Tiller +spec: + replicas: 1 + strategy: + type: Recreate + template: + metadata: + labels: + stable.agones.dev/role: controller + app: agones + chart: agones-0.3.0 + release: agones-manual + heritage: Tiller + spec: + serviceAccountName: agones-controller + containers: + - name: agones-controller + image: "gcr.io/agones-images/agones-controller:0.3.0" + imagePullPolicy: IfNotPresent + env: + - name: ALWAYS_PULL_SIDECAR # set the sidecar imagePullPolicy to Always + value: "false" + # minimum port that can be exposed to GameServer traffic + - name: MIN_PORT + value: "7000" + # maximum port that can be exposed to GameServer traffic + - name: MAX_PORT + value: "8000" + - name: SIDECAR # overwrite the GameServer sidecar image that is used + value: "gcr.io/agones-images/agones-sdk:0.3.0" + livenessProbe: + httpGet: + path: /live + port: 8080 + initialDelaySeconds: 3 + periodSeconds: 3 + failureThreshold: 3 + timeoutSeconds: 1 + volumeMounts: + - name: certs + mountPath: /home/agones/certs + readOnly: true + volumes: + - name: certs + secret: + secretName: agones-manual-cert + +--- +# Source: agones/templates/admissionregistration.yaml +# Copyright 2018 Google Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +--- +apiVersion: admissionregistration.k8s.io/v1beta1 +kind: ValidatingWebhookConfiguration +metadata: + name: agones-validation-webhook +webhooks: + - name: validations.stable.agones.dev + failurePolicy: Fail + clientConfig: + service: + name: agones-controller-service + namespace: agones-system + path: /validate + caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVLVENDQXhHZ0F3SUJBZ0lKQU9KUDY0MTB3dkdTTUEwR0NTcUdTSWIzRFFFQkN3VUFNSUdxTVFzd0NRWUQKVl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BqejBsdzk1QVB2bE12MWptcVVSRldjRVNUTGFRMEZ4NUt3UnlWMHppWm1VdkFBRjJaeApEWmhIVWNvRlBIQXdUbDc1TkFobkhwTWxMTnA1TDd0Y1ZkeVQ4QjJHUnMrc2xRSURBUUFCbzFBd1RqQWRCZ05WCkhRNEVGZ1FVZ3YxblRQYVFKU04zTHFtNWpJalc0eEhtZEcwd0h3WURWUjBqQkJnd0ZvQVVndjFuVFBhUUpTTjMKTHFtNWpJalc0eEhtZEcwd0RBWURWUjBUQkFVd0F3RUIvekFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBSEtFQwprdEVqWU5VQ0ErbXlzejRvclc3cFJVdmhCSERWU2dzWTZlRVZSTHpmLzF5SVpFMHU2NTZrcEs2T1Q3TWhKR2xVCkt3R1NTb1VCQnpWZ1VzWmpEbTdQZ2JrNGlZem40TTF4THpiTFFCcjNNYzV6WEhlZlB2YmltaEQ1NWNMenBWRnUKVlFtQm1aVjJOalU1RHVTZFJuZGxjUGFOY2cvdU9jdlpLNEtZMUtDQkEzRW9BUUlrcHpIWDJpVU1veGlSdlpWTgpORXdnRlR0SUdCWW4wSGZML3ZnT3NIOGZWck1Va3VHMnZoR2RlWEJwWmlxL0JaSmJaZU4yckNmMmdhWDFRSXYwCkVLYmN1RnFNOThXVDVaVlpSdFgxWTNSd2V2ZzRteFlKWEN1SDZGRjlXOS9TejI5NEZ5Mk9CS0I4SkFWYUV4OW4KMS9pNmZJZmZHbkhUWFdIc1ZRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo= + rules: + - apiGroups: + - stable.agones.dev + resources: + - "gameservers" + - "fleetallocations" + apiVersions: + - "v1alpha1" + operations: + - CREATE + - apiGroups: + - stable.agones.dev + resources: + - "gameserversets" + - "fleetallocations" + apiVersions: + - "v1alpha1" + operations: + - UPDATE +--- +apiVersion: admissionregistration.k8s.io/v1beta1 +kind: MutatingWebhookConfiguration +metadata: + name: agones-mutation-webhook + labels: + component: controller + app: agones + chart: agones-0.3.0 + release: agones-manual + heritage: Tiller +webhooks: + - name: mutations.stable.agones.dev + failurePolicy: Fail + clientConfig: + service: + name: agones-controller-service + namespace: agones-system + path: /mutate + caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVLVENDQXhHZ0F3SUJBZ0lKQU9KUDY0MTB3dkdTTUEwR0NTcUdTSWIzRFFFQkN3VUFNSUdxTVFzd0NRWUQKVlFRR0V3SlZVekVUTUJFR0ExVUVDQXdLVTI5dFpTMVRkR0YwWlRFUE1BMEdBMVVFQ2d3R1FXZHZibVZ6TVE4dwpEUVlEVlFRTERBWkJaMjl1WlhNeE5EQXlCZ05WQkFNTUsyRm5iMjVsY3kxamIyNTBjbTlzYkdWeUxYTmxjblpwClkyVXVZV2R2Ym1WekxYTjVjM1JsYlM1emRtTXhMakFzQmdrcWhraUc5dzBCQ1FFV0gyRm5iMjVsY3kxa2FYTmoKZFhOelFHZHZiMmRzWldkeWIzVndjeTVqYjIwd0hoY05NVGd3TWpFME1EUTBORFEyV2hjTk1qZ3dNakV5TURRMApORFEyV2pDQnFqRUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdNQ2xOdmJXVXRVM1JoZEdVeER6QU5CZ05WCkJBb01Ca0ZuYjI1bGN6RVBNQTBHQTFVRUN3d0dRV2R2Ym1Wek1UUXdNZ1lEVlFRRERDdGhaMjl1WlhNdFkyOXUKZEhKdmJHeGxjaTF6WlhKMmFXTmxMbUZuYjI1bGN5MXplWE4wWlcwdWMzWmpNUzR3TEFZSktvWklodmNOQVFrQgpGaDloWjI5dVpYTXRaR2x6WTNWemMwQm5iMjluYkdWbmNtOTFjSE11WTI5dE1JSUJJakFOQmdrcWhraUc5dzBCCkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXpnVlQ5MGVqeE5ud0NvL09qTUQyNmZVNGRya1NlZndkUWd3aWJpZmEKbDhyazZZMFZ2T0lWMUgrbFJvd2UwNm1XTnVSN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ElGSUNBVEUtLS0tLQo= + rules: + - apiGroups: + - stable.agones.dev + resources: + - "gameservers" + - "fleets" + - "fleetallocations" + apiVersions: + - "v1alpha1" + operations: + - CREATE +--- +apiVersion: v1 +kind: Secret +metadata: + name: agones-manual-cert + labels: + app: agones-manual + chart: "agones-0.3.0" + release: "agones-manual" + heritage: "Tiller" +type: Opaque +data: + server.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVLVENDQXhHZ0F3SUJBZ0lKQU9KUDY0MTB3dkdTTUEwR0NTcUdTSWIzRFFFQkN3VUFNSUdxTVFzd0NRWUQKVlFRR0V3SlZVekVUTUJFR0ExVUVDQXdLVTI5dFpTMVRkR0YwWlRFUE1BMEdBMVVFQ2d3R1FXZHZibVZ6TVE4dwpEUVlEVlFRTERBWkJaMjl1WlhNeE5EQXlCZ05WQkFNTUsyRm5iMjVsY3kxamIyNTBjbTlzYkdWeUxYTmxjblpwClkyVXVZV2R2Ym1WekxYTjVjM1JsYlM1emRtTXhMakFzQmdrcWhraUc5dzBCQ1FFV0gyRm5iMjVsY3kxa2FYTmoKZFhOelFHZHZiMmRzWldkeWIzVndjeTVqYjIwd0hoY05NVGd3TWpFME1EUTBORFEyV2hjTk1qZ3dNakV5TURRMApORFEyV2pDQnFqRUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdNQ2xOdmJXVXRVM1JoZEdVeER6QU5CZ05WCkJBb01Ca0ZuYjI1bGN6RVBNQTBHQTFVRUN3d0dRV2R2Ym1Wek1UUXdNZ1lEVlFRRERDdGhaMjl1WlhNdFkyOXUKZEhKdmJHeGxjaTF6WlhKMmFXTmxMbUZuYjI1bGN5MXplWE4wWlcwdWMzWmpNUzR3TEFZSktvWklodmNOQVFrQgpGaDloWjI5dVpYTXRaR2x6WTNWemMwQm5iMjluYkdWbmNtOTFjSE11WTI5dE1JSUJJakFOQmdrcWhraUc5dzBCCkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXp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