Logo
Explore Help
Register Sign In
rancher/osbuilder
1
0
Fork 0
You've already forked osbuilder
mirror of https://github.com/kairos-io/osbuilder.git synced 2025-09-19 01:14:24 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
dependabot/go_modules/go_modules-1bf47a65e7
osbuilder/config/nginx/role.yaml

19 lines
227 B
YAML
Raw Permalink Normal View History

[WIP] Create rbac resources to allow the Job to copy to the server Pod Currently fails with: ``` Error from server (Forbidden): pods is forbidden: User "system:serviceaccount:default:hello-kairos" cannot list resource "pods" in API group "" at the cluster scope ``` because we try to list pods with `-A`. This means we are going to get a similar error if we try to copy files to a Pod on another namespace unless we grant permission at the cluster scope or just that namespace. (Is that possible? Maybe if we create the Role in the same namespace as the server.) Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2022-12-08 16:35:45 +02:00
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: artifactCopier
rules:
- apiGroups:
- ""
resources:
- pods
verbs:
- list
Refactor kustomization, implement cleanup with finalizers and write tests Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2022-12-12 18:09:31 +02:00
- get
- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 229ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API