Skip to content

Commit b50b2d7

Browse files
committed
removing --create-namespace from constants
1 parent 2907362 commit b50b2d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/warnet/constants.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
INGRESS_NAMESPACE = "ingress"
1717
WARGAMES_NAMESPACE_PREFIX = "wargames-"
1818
KUBE_INTERNAL_NAMESPACES = ["kube-node-lease", "kube-public", "kube-system", "kubernetes-dashboard"]
19-
HELM_COMMAND = "helm upgrade --install --create-namespace"
19+
HELM_COMMAND = "helm upgrade --install"
2020

2121
TANK_MISSION = "tank"
2222
COMMANDER_MISSION = "commander"
@@ -103,10 +103,10 @@
103103
"helm repo add prometheus-community https://prometheus-community.github.io/helm-charts",
104104
"helm repo update",
105105
f"helm upgrade --install --namespace warnet-logging --create-namespace --values {MANIFESTS_DIR}/loki_values.yaml loki grafana/loki --version 5.47.2",
106-
"helm upgrade --install --namespace warnet-logging promtail grafana/promtail",
107-
"helm upgrade --install --namespace warnet-logging prometheus prometheus-community/kube-prometheus-stack --namespace warnet-logging --set grafana.enabled=false",
108-
f"helm upgrade --install grafana-dashboards {CHARTS_DIR}/grafana-dashboards --namespace warnet-logging",
109-
f"helm upgrade --install --namespace warnet-logging loki-grafana grafana/grafana --values {MANIFESTS_DIR}/grafana_values.yaml",
106+
"helm upgrade --install --namespace warnet-logging promtail grafana/promtail --create-namespace",
107+
"helm upgrade --install --namespace warnet-logging prometheus prometheus-community/kube-prometheus-stack --namespace warnet-logging --create-namespace --set grafana.enabled=false",
108+
f"helm upgrade --install grafana-dashboards {CHARTS_DIR}/grafana-dashboards --namespace warnet-logging --create-namespace",
109+
f"helm upgrade --install --namespace warnet-logging --create-namespace loki-grafana grafana/grafana --values {MANIFESTS_DIR}/grafana_values.yaml",
110110
]
111111

112112

0 commit comments

Comments
 (0)