update readme
This commit is contained in:
@ -31,4 +31,8 @@ docker push $DOCKER_REGISTRY/my-portfolio-app:latest
|
|||||||
|
|
||||||
# Check the registry
|
# Check the registry
|
||||||
curl -u user:pass https://$DOCKER_REGISTRY/v2/_catalog
|
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"
|
local namespace="$2"
|
||||||
|
|
||||||
kubectl create role "$user" \
|
kubectl create role "$user" \
|
||||||
--verb=get,list,watch,create,update,delete,patch \
|
--verb=get,list,watch,create,update,delete,patch,exec \
|
||||||
--resource=pods,services,deployments,secrets,configmaps \
|
--resource=pods,pods/exec,services,deployments,secrets,configmaps \
|
||||||
--namespace "$namespace" \
|
--namespace "$namespace" \
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user