Move instance var to the root

This commit is contained in:
Daniel Berteaud 2023-12-21 22:16:14 +01:00
parent bb025f06fe
commit 673e0cba76
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[[ $c := merge .democratic_csi.controller . -]]
job "[[ .democratic_csi.instance ]]-controller" {
job "[[ .instance ]]-controller" {
[[- template "common/job_start" $c ]]

View File

@ -1,6 +1,6 @@
[[ $c := merge .democratic_csi.node . -]]
job "[[ .democratic_csi.instance ]]-node" {
job "[[ .instance ]]-node" {
type = "system"
[[- template "common/job_start" $c ]]

View File

@ -1,15 +1,15 @@
---
# Name of the instance (must be different if you plan to run several copies on the same namespace)
instance: democratic-csi
democratic_csi:
# The Docker image to use
image: danielberteaud/democratic-csi:1.8.4-1
# The ID of the storage plugin (the protocol will be appended
# Eg org.democratic-csi.iscsi and org.democratic-csi.nfs
plugin_id: org.democratic-csi
# Name of the instance (must be different if you plan to run several copies on the same namespace)
instance: democratic-csi
plugin_id: org.[[ .instance ]]
# Settings for controllers
controller: