diff --git a/misc/k8s/README.md b/misc/k8s/README.md index 359e386..2819e1b 100644 --- a/misc/k8s/README.md +++ b/misc/k8s/README.md @@ -1,5 +1,18 @@ # Kubernetes +## Initialize your project + +1. Generate the Docker configuration to enable image builds with Kaniko and communicate with reg.cadoles.com + + ```shell + docker login reg.cadoles.com + mkdir -p misc/k8s/kustomization/base/secrets/dockerconfig + docker --config misc/k8s/kustomization/base/secrets/dockerconfig login reg.cadoles.com + mv misc/k8s/kustomization/base/secrets/dockerconfig/config.json misc/k8s/kustomization/base/secrets/dockerconfig/.dockerconfigjson + mkdir -p misc/k8s/kustomization/overlays/dev/secrets/dockerconfig + cp misc/k8s/kustomization/base/secrets/dockerconfig/.dockerconfigjson misc/k8s/kustomization/overlays/dev/secrets/dockerconfig/.dockerconfigjson + ``` + ## Getting started with Kind 1. Create your [Kind](https://kind.sigs.k8s.io/) cluster