Move instance var to the root
This commit is contained in:
parent
bb025f06fe
commit
673e0cba76
|
@ -1,6 +1,6 @@
|
|||
[[ $c := merge .democratic_csi.controller . -]]
|
||||
|
||||
job "[[ .democratic_csi.instance ]]-controller" {
|
||||
job "[[ .instance ]]-controller" {
|
||||
|
||||
[[- template "common/job_start" $c ]]
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[[ $c := merge .democratic_csi.node . -]]
|
||||
|
||||
job "[[ .democratic_csi.instance ]]-node" {
|
||||
job "[[ .instance ]]-node" {
|
||||
type = "system"
|
||||
|
||||
[[- template "common/job_start" $c ]]
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue