Add matrix-bridge-meshtastic deployer
All checks were successful
/ diff-and-deploy (push) Successful in 2m4s

This commit is contained in:
Finn 2024-10-30 14:57:19 -07:00
parent c94e0e0163
commit 0163a18f4d
3 changed files with 25 additions and 1 deletions

View file

@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- infra-deployer.yaml
- matrix-bridge-meshtastic-deployer.yaml

View file

@ -0,0 +1,22 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: matrix-bridge-meshtastic-deployer
namespace: meshtastic
rules:
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["get", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: matrix-bridge-meshtastic-deployer
namespace: meshtastic
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: matrix-bridge-meshtastic-deployer
subjects:
- kind: User
name: matrix-bridge-meshtastic-deployer

View file

@ -19,7 +19,8 @@ spec:
- name: REPO_MAPPINGS
value: |
[
{"k8s_name": "infra-deployer", "owner": "JankySolutions", "repo": "infra"}
{"k8s_name": "infra-deployer", "owner": "JankySolutions", "repo": "infra"},
{"k8s_name": "matrix-bridge-meshtastic-deployer", "owner": "finn", "repo": "matrix-bridge-meshtastic"}
]
envFrom:
- secretRef: