refined deployment config
This commit is contained in:
@@ -40,7 +40,8 @@ kubectl -n <namespace> rollout restart deployment/anyway-backend
|
||||
### CI/CD and credentials
|
||||
For the deployment to work, the CI runner needs to authenticate against the kubernetes cluster. This is done by creating a service account in the cluster and providing the CI runner with the necessary credentials through a kubeconfig file. This file is stored as a repository secret `KUBE_CONFIG` and is used by the `kubectl` command in the CI pipeline.
|
||||
|
||||
The RBAC configuration for the service included for your reference in the file `rbac.yaml`.
|
||||
The RBAC configuration for the service included for your reference in the file `rbac.yaml`. To use it, extract the token from the secret `deployment-token-secret`.
|
||||
Then fill in the token and service account name into the kubeconfig.
|
||||
|
||||
|
||||
### Deployment environments
|
||||
|
Reference in New Issue
Block a user