Comments (4)
Another possibility is to have deployed the ArgoCD CR within the operator with:
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: argocd
spec:
image: argoproj/argocd
version: v2.0.3
server:
insecure: true
route:
enabled: true
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
Let's check!
from devsecops-demo.
Works but changing the argocd image, because the old image 2.0.5 didn't work raising another error:
step-sync
+ argocd app sync dev-spring-petclinic --revision HEAD --
TIMESTAMP GROUP KIND NAMESPACE NAME STATUS HEALTH HOOK MESSAGE
2022-03-01T19:25:27+00:00 Service devsecops-dev spring-petclinic Synced Healthy
2022-03-01T19:25:27+00:00 apps Deployment devsecops-dev spring-petclinic Synced Healthy
2022-03-01T19:25:27+00:00 route.openshift.io Route devsecops-dev spring-petclinic Synced Healthy
2022-03-01T19:25:29+00:00 apps Deployment devsecops-dev spring-petclinic OutOfSync Progressing
2022-03-01T19:25:29+00:00 Service devsecops-dev spring-petclinic Synced Healthy service/spring-petclinic unchanged
2022-03-01T19:25:29+00:00 apps Deployment devsecops-dev spring-petclinic OutOfSync Progressing deployment.apps/spring-petclinic configured
2022-03-01T19:25:29+00:00 route.openshift.io Route devsecops-dev spring-petclinic Synced Healthy route.route.openshift.io/spring-petclinic unchanged
2022-03-01T19:25:30+00:00 apps Deployment devsecops-dev spring-petclinic Synced Progressing deployment.apps/spring-petclinic configured
2022-03-01T19:25:30+00:00 apps Deployment devsecops-dev spring-petclinic Synced Healthy deployment.apps/spring-petclinic configured
Name: dev-spring-petclinic
Project: spring-petclinic
Server: https://kubernetes.default.svc
Namespace: devsecops-dev
URL: https://openshift-gitops-server-openshift-gitops.apps.cluster-kb9kk.kb9kk.sandbox1484.opentlc.com/applications/dev-spring-petclinic
Repo: http://gogs-ocp-workshop.apps.cluster-kb9kk.kb9kk.sandbox1484.opentlc.com/gogsadmin/spring-petclinic-config
Target: HEAD
Path: environments/dev
SyncWindow: Sync Allowed
Sync Policy: Automated (Prune)
Sync Status: OutOfSync from HEAD (221a0ad)
Health Status: Healthy
GROUP KIND NAMESPACE NAME STATUS HEALTH HOOK MESSAGE
Service devsecops-dev spring-petclinic Synced Healthy
apps Deployment devsecops-dev spring-petclinic OutOfSync Healthy
route.openshift.io Route devsecops-dev spring-petclinic Synced Healthy
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x2317efb]
goroutine 1 [running]:
github.com/argoproj/argo-cd/v2/cmd/argocd/commands.NewApplicationSyncCommand.func1(0xc00023f340, 0xc000a6b440, 0x1, 0x4)
/go/src/github.com/argoproj/argo-cd/cmd/argocd/commands/app.go:1418 +0x73b
github.com/spf13/cobra.(*Command).execute(0xc00023f340, 0xc000a6b400, 0x4, 0x4, 0xc00023f340, 0xc000a6b400)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:854 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc000c94dc0, 0x12, 0x0, 0x0)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/[email protected]/command.go:895
main.main()
/go/src/github.com/argoproj/argo-cd/cmd/main.go:60 +0x1d6
step-wait
2022/03/01 19:25:31 Skipping step because a previous step failed
Changing the image to the newest available 2.2.5, worked like a charm. Waiting to test in a clean env...
from devsecops-demo.
Worked ok in a full end2end pipeline:
from devsecops-demo.
Closing because it's fixed in #53 that is already in the main branch.
from devsecops-demo.
Related Issues (20)
- change images from dockerhub to quay and registry.redhat.io HOT 4
- enable keycload / ocp sso instead of dex HOT 3
- Failure uploading the zap proxy report into the upload server HOT 4
- Explore GitSecrets of awslabs
- Enhance explanation with the devsecops pipeline description HOT 1
- Failure in the installation of the Openshift GitOps HOT 2
- Openshift GitOps for springpetclinic-dev stucks in wait sync up of ArgoCD HOT 3
- Installation failing on OCP 4.9.10 (ROSA) HOT 3
- Add Signing Commits in Git server HOT 1
- Add Tekton Chains and Sigstore to the demo HOT 1
- Use Cosign and Sigstore to sign the images that are in the registry HOT 3
- Upgrade Sonarqube Image to 9.1.0-community HOT 3
- Upgrade Nexus Image to 3.36 and use redhat registry
- Image Scan fails due to roxctl cli output changes HOT 2
- Integrate the ACS OAuth into demo
- OCP 4.11 install HOT 2
- Please consider adding an open source license HOT 2
- Few issues with OCP 4.11 HOT 7
- image-check issue for internal registry HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devsecops-demo.