Skip to content

Commit

Permalink
Mw/read for dev (#34)
Browse files Browse the repository at this point in the history
* Removed HTTPS, not supported at this time
- added alpha1 for testing

Signed-off-by: Michael Wilkerson <[email protected]>

* back in dev mode

Signed-off-by: Michael Wilkerson <[email protected]>

---------

Signed-off-by: Michael Wilkerson <[email protected]>
  • Loading branch information
wilkermichael authored Mar 27, 2024
1 parent 0bdb2e5 commit 8f2533d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
// A pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release
// such as "dev" (in development), "beta", "rc1", etc.
VersionPrerelease = "alpha1"
VersionPrerelease = "dev"
)

// GetHumanVersion composes the parts of the version in a way that's suitable
Expand Down
21 changes: 1 addition & 20 deletions testing/makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
KUBERNETES_VERSION = v1.25.11
CONSUL_K8S_CHART_VERSION = 1.3.1
PLUGIN_DIR= $(shell realpath ../)
IMAGE=hashicorppreview/rollouts-plugin-trafficrouter-consul:0.0-dev
HTTPS_BINARY=https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-sample-nginx/releases/download/v0.0.1/metric-plugin-linux-amd64
IMAGE=hashicorp/rollouts-plugin-trafficrouter-consul:0.0.1-alpha1

#Do Not change
VALUES_INIT_HELM=values_rollout_init.yaml
VALUES_HTTPS_HELM=values_rollout_https.yaml

### TEST VERIFICATION
.PHONY: setup
Expand Down Expand Up @@ -122,23 +120,6 @@ deploy-argo-image:
helm install argo-rollouts argo/argo-rollouts -f $(VALUES_INIT_HELM) -n argo-rollouts; \
kubectl apply -f $(PLUGIN_DIR)/yaml/rbac.yaml

#HTTPS
.PHONY: setup-https
setup-https: consul-setup argo-setup-https

.PHONY: argo-setup-https
argo-setup-https: argo-https-values deploy-argo-https apply-crds

.PHONY: argo-https-values
argo-https-values:
./scripts/create_values_rollout_https_helm.sh ./$(VALUES_HTTPS_HELM) $(HTTPS_BINARY)

.PHONY: deploy-argo-https
deploy-argo-https:
kubectl create namespace argo-rollouts; \
helm install argo-rollouts argo/argo-rollouts -f $(VALUES_HTTPS_HELM) -n argo-rollouts; \
kubectl apply -f $(PLUGIN_DIR)/yaml/rbac.yaml

## EXTRAS
.PHONY: install-required
install-required:
Expand Down

0 comments on commit 8f2533d

Please sign in to comment.