Skip to content

Commit d6cb007

Browse files
Robert Baileymarkmandel
authored andcommitted
Move the stable api group and promote it to v1 (agones-dev#894)
* Rename the "core agones" API from stable -> agones and promote the version from v1alpha1 -> v1. * Code updated for the new agones core api import path. * Run `make gen-crd-client`. * Force a rebuild of the build image. * Run `make gen-api-docs`. * Update the examples directory for the new allocation api version. * Update the install/helm directory for the new allocation api version. * Run `make gen-install`. * Update the build directory for the new allocation api version. * Updates to the sdk proto. Also ran `make gen-sdk-grpc`. * Run `make gen-all-sdk-grpc`. * Manual fixes to the cpp sdk. * Update website docs. * Update the version of the simple-udp container image to pick up the changes to the SDK.
1 parent 187e816 commit d6cb007

162 files changed

Lines changed: 5064 additions & 4289 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎build/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ KIND_PROFILE ?= agones
5757
KIND_CONTAINER_NAME=kind-$(KIND_PROFILE)-control-plane
5858

5959
# Game Server image to use while doing end-to-end tests
60-
GS_TEST_IMAGE ?= gcr.io/agones-images/udp-server:0.11
60+
GS_TEST_IMAGE ?= gcr.io/agones-images/udp-server:0.12
6161

6262
# Directory that this Makefile is in.
6363
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))

‎build/build-image/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# ForceUpdate 10 -- change here if you need to force a rebuild
15+
# ForceUpdate 11 -- change here if you need to force a rebuild
1616

1717
FROM debian:stretch
1818

‎build/build-image/gen-crd-client.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ rsync -r /go/src/agones.dev/agones/vendor/k8s.io/ /go/src/k8s.io/
2323
cd /go/src/k8s.io/code-generator
2424
./generate-groups.sh "all" \
2525
agones.dev/agones/pkg/client \
26-
agones.dev/agones/pkg/apis "allocation:v1 stable:v1alpha1 multicluster:v1alpha1 autoscaling:v1" \
26+
agones.dev/agones/pkg/apis "allocation:v1 agones:v1 multicluster:v1alpha1 autoscaling:v1" \
2727
--go-header-file=/go/src/agones.dev/agones/build/boilerplate.go.txt
2828

‎build/cluster.tf‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ resource "google_container_cluster" "primary" {
126126
"https://www.googleapis.com/auth/trace.append",
127127
]
128128
labels = {
129-
"stable.agones.dev/agones-system" = "true"
129+
"agones.dev/agones-system" = "true"
130130
}
131131
taint = {
132-
key = "stable.agones.dev/agones-system"
132+
key = "agones.dev/agones-system"
133133
value = "true"
134134
effect = "NO_EXECUTE"
135135
}
@@ -152,10 +152,10 @@ resource "google_container_cluster" "primary" {
152152
"https://www.googleapis.com/auth/trace.append",
153153
]
154154
labels = {
155-
"stable.agones.dev/agones-metrics" = "true"
155+
"agones.dev/agones-metrics" = "true"
156156
}
157157
taint = {
158-
key = "stable.agones.dev/agones-metrics"
158+
key = "agones.dev/agones-metrics"
159159
value = "true"
160160
effect = "NO_EXECUTE"
161161
}

‎build/gke-test-cluster/cluster.yml.jinja‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ resources:
4848
- https://www.googleapis.com/auth/servicecontrol
4949
- https://www.googleapis.com/auth/trace.append
5050
labels:
51-
stable.agones.dev/agones-system: "true"
51+
agones.dev/agones-system: "true"
5252
taints:
53-
- key: "stable.agones.dev/agones-system"
53+
- key: "agones.dev/agones-system"
5454
value: "true"
5555
effect: "NO_EXECUTE"
5656
- name: "agones-metrics"
@@ -65,9 +65,9 @@ resources:
6565
- https://www.googleapis.com/auth/servicecontrol
6666
- https://www.googleapis.com/auth/trace.append
6767
labels:
68-
stable.agones.dev/agones-metrics: "true"
68+
agones.dev/agones-metrics: "true"
6969
taints:
70-
- key: "stable.agones.dev/agones-metrics"
70+
- key: "agones.dev/agones-metrics"
7171
value: "true"
7272
effect: "NO_EXECUTE"
7373
- name: game-server-firewall

‎build/grafana.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
service:
22
port: 3000
33
tolerations:
4-
- key: "stable.agones.dev/agones-metrics"
4+
- key: "agones.dev/agones-metrics"
55
operator: "Equal"
66
value: "true"
77
effect: "NoExecute"
@@ -11,7 +11,7 @@ affinity:
1111
- weight: 1
1212
preference:
1313
matchExpressions:
14-
- key: stable.agones.dev/agones-metrics
14+
- key: agones.dev/agones-metrics
1515
operator: Exists
1616
sidecar:
1717
dashboards:

‎build/grafana/dashboard-status.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ data:
108108
"targets": [
109109
{
110110
"$$hashKey": "object:818",
111-
"expr": "(process_start_time_seconds{app=\"agones\",stable_agones_dev_role=\"controller\"}) * 1000",
111+
"expr": "(process_start_time_seconds{app=\"agones\",agones_dev_role=\"controller\"}) * 1000",
112112
"format": "time_series",
113113
"instant": true,
114114
"intervalFactor": 1,

‎build/modules/gke/cluster.tf‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ resource "google_container_node_pool" "agones-system" {
115115
"https://www.googleapis.com/auth/trace.append",
116116
]
117117
labels = {
118-
"stable.agones.dev/agones-system" = "true"
118+
"agones.dev/agones-system" = "true"
119119
}
120120
taint = {
121-
key = "stable.agones.dev/agones-system"
121+
key = "agones.dev/agones-system"
122122
value = "true"
123123
effect = "NO_EXECUTE"
124124
}
@@ -145,10 +145,10 @@ resource "google_container_node_pool" "agones-metrics" {
145145
"https://www.googleapis.com/auth/trace.append",
146146
]
147147
labels = {
148-
"stable.agones.dev/agones-metrics" = "true"
148+
"agones.dev/agones-metrics" = "true"
149149
}
150150
taint = {
151-
key = "stable.agones.dev/agones-metrics"
151+
key = "agones.dev/agones-metrics"
152152
value = "true"
153153
effect = "NO_EXECUTE"
154154
}

‎build/prometheus.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server:
1212
memory: 4Gi
1313
cpu: 2
1414
tolerations:
15-
- key: "stable.agones.dev/agones-metrics"
15+
- key: "agones.dev/agones-metrics"
1616
operator: "Equal"
1717
value: "true"
1818
effect: "NoExecute"
@@ -22,7 +22,7 @@ server:
2222
- weight: 1
2323
preference:
2424
matchExpressions:
25-
- key: stable.agones.dev/agones-metrics
25+
- key: agones.dev/agones-metrics
2626
operator: Exists
2727
serverFiles:
2828
prometheus.yml:

‎examples/allocator-service/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Simple Allocator Service
22

3-
This service provides an example of using the [Agones API](https://godoc.org/agones.dev/agones/pkg/client/clientset/versioned/typed/stable/v1alpha1) to allocate a GameServer from a Fleet, and is used in the [Create an Allocator Service (Go)](https://agones.dev/site/docs/tutorials/allocator-service-go/) tutorial.
3+
This service provides an example of using the [Agones API](https://godoc.org/agones.dev/agones/pkg/client/clientset/versioned/typed/agones/v1) to allocate a GameServer from a Fleet, and is used in the [Create an Allocator Service (Go)](https://agones.dev/site/docs/tutorials/allocator-service-go/) tutorial.
44

55
## Allocator Service
66
The service exposes an endpoint which allows client calls to AllocationInterface.Create() over a secure connection. It also provides examples of how to create a service account with the least necessary privileges, how to create an Ingress, and how services can use secrets specific to their respective accounts.

0 commit comments

Comments
 (0)