feat: add namespace to cluster
Some checks reported errors
continuous-integration/drone/push Build encountered an error

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-05-26 23:23:05 +02:00
parent 4308016351
commit 9f499a4be7
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
{%- set cluster_namespace = vars.cluster_vars.namespace -%}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ vars.cuddle_vars.service }}-config
namespace: {{ cluster_namespace }}
data:
{%- if (vars.cluster_vars.env | items | length) > 0 %}
environment: