Skip to content

Commit 1aa16bc

Browse files
committed
updated config
1 parent 8dd798f commit 1aa16bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/workflow.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ jobs:
4747
kubectl config use-context my-remote-access-context
4848
kubectl get pods --all-namespaces
4949
kubectl config view
50+
echo "the value of TAG is ${{ IMAGE_TAG }}"
5051
kubectl apply -f ./challenge9/kubernetes/deployment.yaml

challenge9/kubernetes/clusterrole.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ kind: ClusterRole
33
metadata:
44
name: runner-deployments
55
rules:
6-
- apiGroups: ["apps",""]
7-
resources:
8-
- deployments
6+
- apiGroups: ["apps","","clusterrole.rbac.authorization.k8s.io"]
7+
resources: ["*"]
98
verbs: ["get","list","watch","create","update","patch","delete"]
109
---
1110
apiVersion: rbac.authorization.k8s.io/v1

0 commit comments

Comments
 (0)