feat: add namespace to cluster
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
4308016351
commit
9f499a4be7
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -1136,7 +1136,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "cuddle-clusters"
|
name = "cuddle-clusters"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://git.front.kjuulh.io/kjuulh/cuddle-clusters?branch=main#616d23c5503c560e11dad655ac2400dd604e29f1"
|
source = "git+https://git.front.kjuulh.io/kjuulh/cuddle-clusters?branch=main#57137daa4e8048b36e4481809240e656d5c17665"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap",
|
"clap",
|
||||||
@ -1615,7 +1615,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "flux-releaser"
|
name = "flux-releaser"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://git.front.kjuulh.io/kjuulh/flux-releaser?branch=main#921a7c6fbf60b222c1bcc94ddfab2fe6d4c58582"
|
source = "git+https://git.front.kjuulh.io/kjuulh/flux-releaser?branch=main#3ca0a836ca9382dfc53ecc159a7ddc10e08e6755"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
|
{%- set cluster_namespace = vars.cluster_vars.namespace -%}
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ vars.cuddle_vars.service }}-config
|
name: {{ vars.cuddle_vars.service }}-config
|
||||||
|
namespace: {{ cluster_namespace }}
|
||||||
data:
|
data:
|
||||||
{%- if (vars.cluster_vars.env | items | length) > 0 %}
|
{%- if (vars.cluster_vars.env | items | length) > 0 %}
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user