maybe this will fix it?
Some checks failed
Check Kubernetes YAMLs / scan (push) Failing after 16s

This commit is contained in:
Lee 2024-09-23 23:14:50 +01:00
parent 2e1b2ebace
commit d8b49d515c
2 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: drone name: drone
namespace: default namespace: drone-ci
rules: rules:
- apiGroups: - apiGroups:
- "" - ""
@ -29,11 +29,11 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: drone name: drone
namespace: default namespace: drone-ci
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: default name: default
namespace: default namespace: drone-ci
roleRef: roleRef:
kind: Role kind: Role
name: drone name: drone

View File

@ -32,6 +32,8 @@ spec:
value: drone.fascinated.cc value: drone.fascinated.cc
- name: DRONE_RPC_PROTO - name: DRONE_RPC_PROTO
value: https value: https
- name: DRONE_NAMESPACE_DEFAULT
value: drone-ci
- name: DRONE_RPC_SECRET - name: DRONE_RPC_SECRET
valueFrom: valueFrom:
secretKeyRef: secretKeyRef: