Add new infra architecture
This commit is contained in:
9
infrastructure/namespaces/bakery-ia.yaml
Normal file
9
infrastructure/namespaces/bakery-ia.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: bakery-ia
|
||||
labels:
|
||||
name: bakery-ia
|
||||
environment: local
|
||||
app.kubernetes.io/name: bakery-ia
|
||||
app.kubernetes.io/part-of: bakery-forecasting-platform
|
||||
15
infrastructure/namespaces/flux-system.yaml
Normal file
15
infrastructure/namespaces/flux-system.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
# Flux System Namespace
|
||||
# This namespace is required for Flux CD components
|
||||
# It should be created before any Flux resources are applied
|
||||
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: flux-system
|
||||
labels:
|
||||
app.kubernetes.io/name: flux
|
||||
app.kubernetes.io/component: system
|
||||
kubernetes.io/metadata.name: flux-system
|
||||
pod-security.kubernetes.io/enforce: restricted
|
||||
pod-security.kubernetes.io/audit: restricted
|
||||
pod-security.kubernetes.io/warn: restricted
|
||||
7
infrastructure/namespaces/kustomization.yaml
Normal file
7
infrastructure/namespaces/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- bakery-ia.yaml
|
||||
- tekton-pipelines.yaml
|
||||
- flux-system.yaml
|
||||
11
infrastructure/namespaces/tekton-pipelines.yaml
Normal file
11
infrastructure/namespaces/tekton-pipelines.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: tekton-pipelines
|
||||
labels:
|
||||
app.kubernetes.io/name: tekton
|
||||
app.kubernetes.io/component: pipelines
|
||||
kubernetes.io/metadata.name: tekton-pipelines
|
||||
pod-security.kubernetes.io/enforce: restricted
|
||||
pod-security.kubernetes.io/audit: restricted
|
||||
pod-security.kubernetes.io/warn: restricted
|
||||
Reference in New Issue
Block a user