change
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/hook: Skip
|
||||
name: dev-argocd
|
||||
title: Argocd (dev)
|
||||
description: ArgoCD-configuratie
|
||||
annotations:
|
||||
argocd.argoproj.io/hook: Skip
|
||||
backstage.io/kubernetes-label-selector: "app=argocd"
|
||||
spec:
|
||||
type: service
|
||||
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
serviceAccountName: backstage
|
||||
containers:
|
||||
- name: backstage
|
||||
image: allardkrings/backstage:1.44
|
||||
image: allardkrings/backstage:1.44.0
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: PORT
|
||||
|
||||
32
dev/backstage/service-account.yaml
Normal file
32
dev/backstage/service-account.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: backstage
|
||||
namespace: backstage
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: backstage
|
||||
namespace: backstage
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["pods", "services", "configmaps", "endpoints", "secrets"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["deployments", "replicasets", "statefulsets"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: backstage
|
||||
namespace: backstage
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: backstage
|
||||
namespace: backstage
|
||||
roleRef:
|
||||
kind: Role
|
||||
name: backstage
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
Reference in New Issue
Block a user