# A ConfigMap is just a bag of key/value data — in this case, a small HTML # file — that lives in the cluster as its own object, separate from the # Pod that uses it. We mount it into the nginx container below instead of # baking the page into a custom container image. # # Why this matters for the GitOps story: this is the file you'll edit in # docs/07-your-first-change.md. Change the text here, commit, push, and # watch Argo CD notice the difference in Git and push it into the cluster # for you — no `kubectl` command involved. That's the whole loop, proven # with one line of HTML. apiVersion: v1 kind: ConfigMap metadata: name: demo-page namespace: demo data: index.html: |
This page is being served from a Kubernetes cluster that Argo CD
deployed straight from Git. Edit apps/demo/configmap.yaml,
commit, push, and refresh this page.