[DO-1600] Move namespace prod to avroid-prod (!36)

[DO-1600]

Co-authored-by: denis.patrakeev <denis.patrakeev@avroid.tech>
Reviewed-on: https://git.avroid.tech/K8s/k8s-configs/pulls/36
Reviewed-by: Vasiliy Chipizhin <vasiliy.chipizhin@avroid.team>
Reviewed-by: Rustam Tagaev <rustam.tagaev@avroid.team>
This commit is contained in:
Denis Patrakeev
2025-02-24 13:56:29 +03:00
parent d23152de7c
commit 565da97928
13 changed files with 19 additions and 19 deletions

View File

@@ -2,9 +2,9 @@
apiVersion: v1 apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: prod name: avroid-prod
labels: labels:
name: prod name: avroid-prod
app.kubernetes.io/managed-by: argocd app.kubernetes.io/managed-by: argocd
annotations: annotations:
argocd.argoproj.io/sync-wave: "-1" argocd.argoproj.io/sync-wave: "-1"
@@ -13,8 +13,8 @@ metadata:
apiVersion: v1 apiVersion: v1
kind: ResourceQuota kind: ResourceQuota
metadata: metadata:
name: prod name: avroid-prod
namespace: prod namespace: avroid-prod
labels: labels:
app.kubernetes.io/managed-by: argocd app.kubernetes.io/managed-by: argocd
spec: spec:
@@ -34,8 +34,8 @@ spec:
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: prod-common name: avroid-prod-common
namespace: prod namespace: avroid-prod
labels: labels:
app.kubernetes.io/managed-by: argocd app.kubernetes.io/managed-by: argocd
spec: spec:

View File

@@ -10,11 +10,11 @@ spec:
project: mermaid project: mermaid
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: prod namespace: avroid-prod
sources: sources:
- repoURL: https://git.avroid.tech/K8s/k8s-configs.git - repoURL: https://git.avroid.tech/K8s/k8s-configs.git
targetRevision: master targetRevision: master
path: clusters/k8s-avroid-office.prod.local/namespaces/prod/mermaid/kustomize path: clusters/k8s-avroid-office.prod.local/namespaces/avroid-prod/diagrams-tools/mermaid/kustomize
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
@@ -36,7 +36,7 @@ spec:
- https://git.avroid.tech/K8s/k8s-configs.git - https://git.avroid.tech/K8s/k8s-configs.git
# Only permit applications to deploy to the guestbook namespace in the same cluster # Only permit applications to deploy to the guestbook namespace in the same cluster
destinations: destinations:
- namespace: prod - namespace: avroid-prod
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
# Deny all cluster-scoped resources from being created, except for Namespace # Deny all cluster-scoped resources from being created, except for Namespace
clusterResourceWhitelist: clusterResourceWhitelist:

View File

@@ -3,7 +3,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: mermaid-in name: mermaid-in
namespace: prod namespace: avroid-prod
labels: labels:
app.kubernetes.io/managed-by: argocd app.kubernetes.io/managed-by: argocd
spec: spec:

View File

@@ -10,7 +10,7 @@ spec:
project: plantuml project: plantuml
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: prod namespace: avroid-prod
sources: sources:
- repoURL: https://git.avroid.tech/K8s/k8s-configs.git - repoURL: https://git.avroid.tech/K8s/k8s-configs.git
targetRevision: master targetRevision: master
@@ -20,7 +20,7 @@ spec:
targetRevision: 3.36.0 targetRevision: 3.36.0
helm: helm:
valueFiles: valueFiles:
- $values/clusters/k8s-avroid-office.prod.local/namespaces/prod/plantuml/values-ovveride.yaml - $values/clusters/k8s-avroid-office.prod.local/namespaces/avroid-prod/diagrams-tools/plantuml/values-ovveride.yaml
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
@@ -43,7 +43,7 @@ spec:
- https://nexus.avroid.tech/repository/devops-helm-proxy-helm/ - https://nexus.avroid.tech/repository/devops-helm-proxy-helm/
# Only permit applications to deploy to the guestbook namespace in the same cluster # Only permit applications to deploy to the guestbook namespace in the same cluster
destinations: destinations:
- namespace: prod - namespace: avroid-prod
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
# Deny all cluster-scoped resources from being created, except for Namespace # Deny all cluster-scoped resources from being created, except for Namespace
clusterResourceWhitelist: clusterResourceWhitelist:

View File

@@ -3,7 +3,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: plantuml-in name: plantuml-in
namespace: prod namespace: avroid-prod
labels: labels:
app.kubernetes.io/managed-by: argocd app.kubernetes.io/managed-by: argocd
spec: spec:

View File

@@ -10,7 +10,7 @@ spec:
project: karma project: karma
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: prod namespace: avroid-prod
sources: sources:
- repoURL: https://git.avroid.tech/K8s/k8s-configs.git - repoURL: https://git.avroid.tech/K8s/k8s-configs.git
targetRevision: master targetRevision: master
@@ -20,7 +20,7 @@ spec:
targetRevision: 2.9.3 targetRevision: 2.9.3
helm: helm:
valueFiles: valueFiles:
- $values/clusters/k8s-avroid-office.prod.local/namespaces/prod/karma/values-ovveride.yaml - $values/clusters/k8s-avroid-office.prod.local/namespaces/avroid-prod/monitoring/karma/values-ovveride.yaml
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
@@ -43,7 +43,7 @@ spec:
- https://nexus.avroid.tech/repository/devops-helm-proxy-helm/ - https://nexus.avroid.tech/repository/devops-helm-proxy-helm/
# Only permit applications to deploy to the guestbook namespace in the same cluster # Only permit applications to deploy to the guestbook namespace in the same cluster
destinations: destinations:
- namespace: prod - namespace: avroid-prod
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
# Deny all cluster-scoped resources from being created, except for Namespace # Deny all cluster-scoped resources from being created, except for Namespace
clusterResourceWhitelist: clusterResourceWhitelist:

View File

@@ -3,7 +3,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: karma-in name: karma-in
namespace: prod namespace: avroid-prod
labels: labels:
app.kubernetes.io/managed-by: argocd app.kubernetes.io/managed-by: argocd
spec: spec:
@@ -22,7 +22,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: karma-out name: karma-out
namespace: prod namespace: avroid-prod
labels: labels:
app.kubernetes.io/managed-by: argocd app.kubernetes.io/managed-by: argocd
spec: spec: