[DO-1600] Move mermaid to new ns (!34)
[DO-1600] Co-authored-by: denis.patrakeev <denis.patrakeev@avroid.tech> Reviewed-on: https://git.avroid.tech/K8s/k8s-configs/pulls/34
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: mermaid
|
|
||||||
labels:
|
|
||||||
name: mermaid
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "-1"
|
|
||||||
scheduler.alpha.kubernetes.io/node-selector: node-role.kubernetes.io/worker=
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ResourceQuota
|
|
||||||
metadata:
|
|
||||||
name: mermaid
|
|
||||||
namespace: mermaid
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/managed-by: argocd
|
|
||||||
spec:
|
|
||||||
hard:
|
|
||||||
requests.cpu: 100m
|
|
||||||
requests.memory: 64Mi
|
|
||||||
limits.cpu: 500m
|
|
||||||
limits.memory: 256Mi
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
# https://github.com/wiremind/wiremind-helm-charts/blob/main/charts/karma/values.yaml
|
|
||||||
|
|
||||||
# Number of replicas
|
|
||||||
replicaCount: 2
|
|
||||||
|
|
||||||
image:
|
|
||||||
repository: ghcr.io/prymitive/karma
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
hosts:
|
|
||||||
- karma.avroid.tech
|
|
||||||
ingressClassName: "nginx"
|
|
||||||
path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
tls: []
|
|
||||||
# - secretName: chart-example-tls
|
|
||||||
# hosts:
|
|
||||||
# - chart-example.local
|
|
||||||
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 128Mi
|
|
||||||
limits:
|
|
||||||
cpu: 450m
|
|
||||||
memory: 384Mi
|
|
||||||
|
|
||||||
nodeSelector:
|
|
||||||
node-role.kubernetes.io/worker: ""
|
|
||||||
|
|
||||||
configMap:
|
|
||||||
enabled: true
|
|
||||||
rawConfig:
|
|
||||||
alertmanager:
|
|
||||||
interval: 30s
|
|
||||||
servers:
|
|
||||||
- cluster: standalone
|
|
||||||
name: avroid
|
|
||||||
uri: http://h-mon.avroid.tech:9093
|
|
||||||
timeout: 10s
|
|
||||||
proxy: true
|
|
||||||
cors:
|
|
||||||
credentials: same-origin
|
|
||||||
labels:
|
|
||||||
color:
|
|
||||||
static:
|
|
||||||
- job
|
|
||||||
unique:
|
|
||||||
- alertname
|
|
||||||
- alertgroup
|
|
||||||
- severity
|
|
||||||
- name
|
|
||||||
- job
|
|
||||||
- instance
|
|
||||||
- subsystem
|
|
||||||
- device
|
|
||||||
- mountpoint
|
|
||||||
ui:
|
|
||||||
refresh: 10s
|
|
||||||
animations: true
|
|
||||||
colorTitlebar: true
|
|
||||||
multiGridLabel: severity
|
|
||||||
filters:
|
|
||||||
default:
|
|
||||||
- "@state!=suppressed"
|
|
||||||
- "@receiver!=avroid_alerts_critical"
|
|
||||||
@@ -10,11 +10,11 @@ spec:
|
|||||||
project: mermaid
|
project: mermaid
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mermaid
|
namespace: 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/mermaid/kustomize
|
path: clusters/k8s-avroid-office.prod.local/namespaces/prod/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: mermaid
|
- namespace: 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:
|
||||||
Reference in New Issue
Block a user