agones.dev/agones@v1.53.0/install/helm/agones/templates/crds/gameserverallocationpolicy.yaml (about) 1 # Copyright 2019 Google LLC All Rights Reserved. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 {{- if .Values.agones.crds.install }} 16 17 apiVersion: apiextensions.k8s.io/v1 18 kind: CustomResourceDefinition 19 metadata: 20 labels: 21 component: crd 22 app: {{ template "agones.name" . }} 23 chart: {{ template "agones.chart" . }} 24 release: {{ .Release.Name }} 25 heritage: {{ .Release.Service }} 26 name: gameserverallocationpolicies.multicluster.agones.dev 27 spec: 28 group: multicluster.agones.dev 29 names: 30 kind: GameServerAllocationPolicy 31 plural: gameserverallocationpolicies 32 shortNames: 33 - gsap 34 scope: Namespaced 35 versions: 36 - name: v1 37 served: true 38 storage: true 39 schema: 40 openAPIV3Schema: 41 description: 'GameServerAllocationPolicy is the Schema for the gameserverallocationpolicies API.' 42 type: object 43 properties: 44 spec: 45 description: 'GameServerAllocationPolicySpec defines the desired state of GameServerAllocationPolicy. More info: 46 https://agones.dev/site/docs/reference/agones_crd_api_reference/#multicluster.agones.dev/v1.GameServerAllocationPolicy' 47 type: object 48 required: 49 - priority 50 - weight 51 properties: 52 priority: 53 format: int32 54 minimum: 0 55 type: integer 56 weight: 57 format: int64 58 minimum: 0 59 type: integer 60 connectionInfo: 61 type: object 62 required: 63 - namespace 64 properties: 65 clusterName: 66 type: string 67 allocationEndpoints: 68 items: 69 type: string 70 type: array 71 minItems: 1 72 secretName: 73 type: string 74 namespace: 75 type: string 76 serverCa: 77 type: string 78 format: byte 79 {{- end }}