update readme
This commit is contained in:
@ -32,3 +32,7 @@ docker push $DOCKER_REGISTRY/my-portfolio-app:latest
|
||||
# Check the registry
|
||||
curl -u user:pass https://$DOCKER_REGISTRY/v2/_catalog
|
||||
```
|
||||
|
||||
# CI/CD
|
||||
Run in Gitea Actions within kubernetes cluster
|
||||
Follow: https://tobru.ch/gitea-actions-container-builds/
|
||||
@ -38,8 +38,8 @@ function create_role() {
|
||||
local namespace="$2"
|
||||
|
||||
kubectl create role "$user" \
|
||||
--verb=get,list,watch,create,update,delete,patch \
|
||||
--resource=pods,services,deployments,secrets,configmaps \
|
||||
--verb=get,list,watch,create,update,delete,patch,exec \
|
||||
--resource=pods,pods/exec,services,deployments,secrets,configmaps \
|
||||
--namespace "$namespace" \
|
||||
--dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
|
||||
Reference in New Issue
Block a user