Skip to content
Snippets Groups Projects
Verified Commit 247b5aeb authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(renovate): Use kustomize components

parent 58b8360f
No related branches found
No related tags found
No related merge requests found
...@@ -5,3 +5,6 @@ resources: ...@@ -5,3 +5,6 @@ resources:
- namespace.yaml - namespace.yaml
- repository.yaml - repository.yaml
- release.yaml - release.yaml
components:
- ../../../shared/components/flux-namespace-admin
\ No newline at end of file
...@@ -9,23 +9,3 @@ metadata: ...@@ -9,23 +9,3 @@ metadata:
pod-security.kubernetes.io/audit-version: v1.26 pod-security.kubernetes.io/audit-version: v1.26
pod-security.kubernetes.io/enforce-version: v1.23 pod-security.kubernetes.io/enforce-version: v1.23
pod-security.kubernetes.io/warn-version: v1.26 pod-security.kubernetes.io/warn-version: v1.26
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: flux-reconciler
namespace: renovate
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: flux-reconciler
namespace: renovate
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: flux-reconciler
namespace: renovate
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- serviceaccount.yaml
- rolebinding.yaml
\ No newline at end of file
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: flux-reconciler
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: flux-reconciler
\ No newline at end of file
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: flux-reconciler
automountServiceAccountToken: false
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment