ec210b3c92
Add restart annotation to trigger Flux-driven rollout so the API picks
up the alpine/git init container fix (ef79ca2). Also add a deploy-manager
Role and RoleBinding so the farh-net:farh-net-paperclip SA can manage
deployments in the hightower namespace going forward.
Resolves FAR-112.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: hightower-api
|
|
namespace: hightower
|
|
rules:
|
|
- apiGroups: ["batch"]
|
|
resources: ["jobs"]
|
|
verbs: ["create", "get", "list", "delete", "watch"]
|
|
- apiGroups: [""]
|
|
resources: ["pods"]
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: [""]
|
|
resources: ["pods/log"]
|
|
verbs: ["get"]
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: hightower-api
|
|
namespace: hightower
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: hightower-api
|
|
namespace: hightower
|
|
roleRef:
|
|
kind: Role
|
|
name: hightower-api
|
|
apiGroup: rbac.authorization.k8s.io
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: hightower-deploy-manager
|
|
namespace: hightower
|
|
rules:
|
|
- apiGroups: ["apps"]
|
|
resources: ["deployments"]
|
|
verbs: ["get", "list", "watch", "update", "patch"]
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: farh-net-deploy-manager
|
|
namespace: hightower
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: farh-net-paperclip
|
|
namespace: farh-net
|
|
roleRef:
|
|
kind: Role
|
|
name: hightower-deploy-manager
|
|
apiGroup: rbac.authorization.k8s.io
|