You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[GITOPS-7475]: Default argocd instance does not get recreated after deletion (#960)
* [GITOPS-7475]: Default argocd instance does not get recreated after deletion
Signed-off-by: akhil nittala <[email protected]>
Signed-off-by: akhil nittala <[email protected]>
* [GITOPS-7475]: Default argocd instance does not get recreated after deletion
Signed-off-by: akhil nittala <[email protected]>
* [GITOPS-7475]: Default argocd instance does not get recreated after deletion
Signed-off-by: akhil nittala <[email protected]>
* [GITOPS-7475]: Default argocd instance does not get recreated after deletion
Signed-off-by: akhil nittala <[email protected]>
* [GITOPS-7475]: Default argocd instance does not get recreated after deletion
Signed-off-by: akhil nittala <[email protected]>
---------
Signed-off-by: akhil nittala <[email protected]>
Co-authored-by: Siddhesh Ghadi <[email protected]>
# If neither Docker nor Podman is found, print an error message and exit
13
+
ifeq ($(CONTAINER_RUNTIME),)
14
+
$(warning "No container runtime (Docker or Podman) found in PATH. Please install one of them.")
15
+
endif
8
16
# CHANNELS define the bundle channels used in the bundle.
9
17
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "preview,fast,stable")
10
18
# To re-generate a bundle for other specific channels without changing the standard setup, you can:
@@ -206,12 +214,12 @@ run: manifests generate fmt vet ## Run a controller from your host.
206
214
CLUSTER_SCOPED_ARGO_ROLLOUTS_NAMESPACES=argo-rollouts,test-rom-ns-1,rom-ns-1,openshift-gitops ARGOCD_CLUSTER_CONFIG_NAMESPACES=openshift-gitops REDIS_CONFIG_PATH="build/redis" go run ./cmd/main.go
207
215
208
216
.PHONY: docker-build
209
-
docker-build: test ## Build docker image with the manager.
210
-
docker build -t ${IMG}.
217
+
docker-build: test ## Build container image with the manager.
218
+
$(CONTAINER_RUNTIME) build -t ${IMG}.
211
219
212
220
.PHONY: docker-push
213
-
docker-push: ## Push docker image with the manager.
214
-
docker push ${IMG}
221
+
docker-push: ## Push container image with the manager.
It("verifies that DISABLE_DEFAULT_ARGOCD_INSTANCE env var will delete the argo cd instance from openshift-gitops, and that default Argo CD instance will be restored when the env var is removed", func() {
43
+
It("verifies that the default ArgoCD instance from openshift-gitops namespace is recreated when deleted manually", func() {
It("verifies that DISABLE_DEFAULT_ARGOCD_INSTANCE env var will delete the argo cd instance from openshift-gitops, and that default Argo CD instance will be restored when the env var is removed", func() {
42
104
iffixture.EnvLocalRun() {
43
105
Skip("when running locally, there is no subscription or operator deployment to modify, so this test is skipped.")
0 commit comments