Skip to content

Latest commit

 

History

History
78 lines (52 loc) · 2.3 KB

README.adoc

File metadata and controls

78 lines (52 loc) · 2.3 KB

GitOps - Cluster Governance

This projects represents the main IT architecture/governance configuration for managing a cluster which serves as platform for various teams with different Kubernetes/OpenShift capabilities. Using the GitOps approach.

  • Kubernetes Cluster

  • Helm v3 and Kustomize

  • Install ArgoCD / OpenShift GitOps (usually part of the cluster provisioning)

  • Apply the bootstrap ApplicationSet

$ helm template a 00_bootstrap/01_gitops --output-dir=work/gitops
wrote work/gitops/gitops-cluster-gov-gitops/templates/02-gitops.yaml
wrote work/gitops/gitops-cluster-gov-gitops/templates/02-gitops.yaml

$ oc apply -f work/gitops/gitops-cluster-gov-gitops/templates/02-gitops.yaml
subscription.operators.coreos.com/openshift-gitops created
$ helm template a 00_bootstrap/02_init --output-dir=work/init
wrote work/init/gitops-cluster-gov-bootstrap/templates/argocd-app-bootstrap.yaml

$ oc apply -f work/init/gitops-cluster-gov-bootstrap/templates/argocd-app-bootstrap.yaml
applicationset.argoproj.io/as-overall-bootstrap created
Create a new version and bind the version to the tag
$ git tag -a release-aurora -m "Release Aurora"
$ git push origin release-aurora

$ # update version.yaml
$ git push

GitOps and IT-Governance to manage a Kubernetes/OpenShift cluster which serves as platform and foundation for the requirments of the teams.

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 .