Skip to content

Commit

Permalink
install.yaml now install by default in agones-system and required the…
Browse files Browse the repository at this point in the history
… namespace to exists
  • Loading branch information
Cyril TOVENA authored and markmandel committed Jul 11, 2018
1 parent d3e9d7e commit f2a7446
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ We can install Agones to the cluster using the
[install.yaml](https://github.com/GoogleCloudPlatform/agones/blob/release-0.1/install.yaml) file.
```bash
kubectl create namespace agones-system
kubectl apply -f https://github.com/GoogleCloudPlatform/agones/raw/release-0.2.0/install/yaml/install.yaml
```
Expand Down
1 change: 1 addition & 0 deletions install/helm/agones/templates/admissionregistration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ template "agones.fullname" . }}-cert
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "agones.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions install/helm/agones/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: agones-controller
namespace: {{ .Release.Namespace }}
labels:
component: controller
app: {{ template "agones.name" . }}
Expand Down
1 change: 1 addition & 0 deletions install/helm/agones/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: v1
kind: Service
metadata:
name: agones-controller-service
namespace: {{ .Release.Namespace }}
labels:
component: controller
app: {{ template "agones.name" . }}
Expand Down
3 changes: 3 additions & 0 deletions install/helm/agones/templates/serviceaccounts/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.agones.serviceaccount.controller }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "agones.name" . }}
chart: {{ template "agones.chart" . }}
Expand All @@ -27,6 +28,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.agones.serviceaccount.controller }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "agones.name" . }}
chart: {{ template "agones.chart" . }}
Expand Down Expand Up @@ -56,6 +58,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ .Values.agones.serviceaccount.controller }}-access
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "agones.name" . }}
chart: {{ template "agones.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions install/helm/agones/templates/serviceaccounts/sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.agones.serviceaccount.sdk }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "agones.name" . }}
chart: {{ template "agones.chart" . }}
Expand Down
7 changes: 7 additions & 0 deletions install/yaml/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: agones-controller
namespace: agones-system
labels:
app: agones
chart: agones-0.3.0
Expand All @@ -28,6 +29,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: agones-controller
namespace: agones-system
labels:
app: agones
chart: agones-0.3.0
Expand Down Expand Up @@ -57,6 +59,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: agones-controller-access
namespace: agones-system
labels:
app: agones
chart: agones-0.3.0
Expand Down Expand Up @@ -101,6 +104,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: agones-sdk
namespace: agones-system
labels:
app: agones
chart: agones-0.3.0
Expand Down Expand Up @@ -613,6 +617,7 @@ apiVersion: v1
kind: Service
metadata:
name: agones-controller-service
namespace: agones-system
labels:
component: controller
app: agones
Expand Down Expand Up @@ -645,6 +650,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: agones-controller
namespace: agones-system
labels:
component: controller
app: agones
Expand Down Expand Up @@ -781,6 +787,7 @@ apiVersion: v1
kind: Secret
metadata:
name: agones-manual-cert
namespace: agones-system
labels:
app: agones-manual
chart: "agones-0.3.0"
Expand Down

0 comments on commit f2a7446

Please sign in to comment.