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

feat(forecastle): Move to new kustomize-optimised config

parent 6cd1b35b
No related branches found
No related tags found
No related merge requests found
...@@ -7,5 +7,10 @@ resources: ...@@ -7,5 +7,10 @@ resources:
- release.yaml - release.yaml
- ../../../shared/networkpolicies/allow-from-same-namespace.yaml - ../../../shared/networkpolicies/allow-from-same-namespace.yaml
- ../../../shared/networkpolicies/allow-from-ingress.yaml - ../../../shared/networkpolicies/allow-from-ingress.yaml
patchesStrategicMerge:
- networkpolicy.yaml commonLabels:
app: forecastle
components:
- ../../../shared/components/flux-namespace-admin
- ../../../shared/components/namespace-baseline
\ No newline at end of file
...@@ -2,30 +2,3 @@ apiVersion: v1 ...@@ -2,30 +2,3 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: forecastle name: forecastle
labels:
pod-security.kubernetes.io/audit: restricted
pod-security.kubernetes.io/enforce: baseline
pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/audit-version: v1.26
pod-security.kubernetes.io/enforce-version: v1.23
pod-security.kubernetes.io/warn-version: v1.26
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: flux-reconciler
namespace: forecastle
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: flux-reconciler
namespace: forecastle
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects:
- kind: ServiceAccount
name: flux-reconciler
namespace: forecastle
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-from-ingress
spec:
podSelector:
matchLabels:
app: forecastle
...@@ -3,6 +3,8 @@ kind: HelmRelease ...@@ -3,6 +3,8 @@ kind: HelmRelease
metadata: metadata:
name: forecastle name: forecastle
namespace: forecastle namespace: forecastle
annotations:
flux-namespace-admin.kustomize.si-infra.de/exclude-helmrelease: "true"
spec: spec:
timeout: 15m timeout: 15m
releaseName: forecastle releaseName: forecastle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment