Skip to content

Commit

Permalink
Added new gen-install-alpha command
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
alexey-kremsa-globant committed Jul 2, 2020
1 parent f627311 commit 44417e1
Show file tree
Hide file tree
Showing 4 changed files with 1,746 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,16 @@ gen-install: $(ensure-build-image)
--set agones.crds.cleanupOnDelete=false \
> $(mount_path)/install/yaml/install.yaml'

# Generate the static install script with all alpha features enabled
gen-install-alpha: $(ensure-build-image)
docker run --rm $(common_mounts) $(DOCKER_RUN_ARGS) $(build_tag) bash -c \
'helm template agones-manual --namespace agones-system $(mount_path)/install/helm/agones \
--set agones.controller.generateTLS=false \
--set agones.allocator.generateTLS=false \
--set agones.crds.cleanupOnDelete=false \
--set agones.featureGates=$(ALPHA_FEATURE_GATES) \
> $(mount_path)/install/yaml/install-alpha.yaml'

# Generate the client for our CustomResourceDefinition
gen-crd-client: $(ensure-build-image)
docker run --rm $(common_mounts) -w $(workdir_path) $(build_tag) /root/gen-crd-client.sh
Expand Down
3 changes: 3 additions & 0 deletions build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@ Compile the ping binary and then build the docker image
#### `make gen-install`
Generate the `/install/yaml/install.yaml` from the Helm template

#### `make gen-install-alpha`
Generate the `/install/yaml/install-alpha.yaml` with all alpha features enabled from the Helm template

#### `make gen-crd-client`
Generate the Custom Resource Definition client(s)

Expand Down
Loading

0 comments on commit 44417e1

Please sign in to comment.