GitOps and ServiceMesh
Example for GitOps in OpenShift using ServiceMesh and the reference sample app bookinfo. This repository represents the config repository in GitOps principle.
The initialization installs the ArgoCD project and application. Currently only one application representing the bookinfo components.
$ oc apply -f argocd/00-argocd-project.yaml namespace/bookinfo created rolebinding.rbac.authorization.k8s.io/bookinfo-role-binding created rolebinding.rbac.authorization.k8s.io/mesh-users created appproject.argoproj.io/argocd-team-travel created application.argoproj.io/argocd-travel-booking created
Use the Route of the Ingress Gateway to access the bookinfo demo application.
$ while true; do curl -so /dev/null -w '%{http_code}\n' $(oc get route istio-ingressgateway -n istio-system --template='{{.spec.host}}')/productpage; done; 200 200 200
This repository represents the configuration for an IT-System/Application with all relevant components. Any stage/environment specific adjustments will be made here in this config repo. The ArgoCD config is also dedicated for this application.
tbd
N/A
N/A
This article is licensed under the Apache License, Version 2. Separate third-party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the Developer Certificate of Origin, Version 1.1 and the Apache License, Version 2.
See also Apache License FAQ .