github.com/replicatedhq/ship@v0.55.0/pkg/lifecycle/render/config/resolve/test-cases/api/multiple-references.yml (about) 1 ##this has 5 options, bravo depends on alpha, charlie depends on bravo, delta depends on bravo AND charlie, and echo depends on delta 2 ##values should be appended properly 3 4 - name: Refrencing multiple template items at once 5 config: 6 - name: alpha_group 7 description: Alpha Group 8 items: 9 - name: alpha 10 title: Alpha Value 11 type: text 12 readonly: true 13 default: "abc" 14 15 - name: bravo 16 type: text 17 hidden: true 18 readonly: true 19 value: 'bravo: {{repl ConfigOption "alpha"}}' 20 21 - name: charlie 22 title: Charlie Value 23 type: text 24 readonly: true 25 value: 'charlie: {{repl ConfigOption "bravo"}}' 26 27 - name: delta 28 title: Delta Value 29 type: text 30 readonly: true 31 value: '{{repl ConfigOption "bravo"}} ++ {{repl ConfigOption "charlie"}}' 32 33 - name: echo 34 title: Echo Value 35 type: text 36 readonly: true 37 value: '{{repl ConfigOption "delta"}}' 38 39 responses: 40 json: | 41 [ 42 { 43 "description": "Alpha Group", 44 "filters": null, 45 "items": [ 46 { 47 "affix": "", 48 "data_cmd": null, 49 "default": "abc", 50 "default_cmd": null, 51 "filters": null, 52 "help_text": "", 53 "hidden": false, 54 "is_excluded_from_support": false, 55 "items": null, 56 "multi_value": null, 57 "multiple": false, 58 "name": "alpha", 59 "props": null, 60 "readonly": true, 61 "recommended": false, 62 "required": false, 63 "test_proc": null, 64 "title": "Alpha Value", 65 "type": "text", 66 "value": "", 67 "value_cmd": null, 68 "when": "" 69 }, 70 { 71 "affix": "", 72 "data_cmd": null, 73 "default": "", 74 "default_cmd": null, 75 "filters": null, 76 "help_text": "", 77 "hidden": true, 78 "is_excluded_from_support": false, 79 "items": null, 80 "multi_value": null, 81 "multiple": false, 82 "name": "bravo", 83 "props": null, 84 "readonly": true, 85 "recommended": false, 86 "required": false, 87 "test_proc": null, 88 "title": "", 89 "type": "text", 90 "value": "bravo: abc", 91 "value_cmd": null, 92 "when": "" 93 }, 94 { 95 "affix": "", 96 "data_cmd": null, 97 "default": "", 98 "default_cmd": null, 99 "filters": null, 100 "help_text": "", 101 "hidden": false, 102 "is_excluded_from_support": false, 103 "items": null, 104 "multi_value": null, 105 "multiple": false, 106 "name": "charlie", 107 "props": null, 108 "readonly": true, 109 "recommended": false, 110 "required": false, 111 "test_proc": null, 112 "title": "Charlie Value", 113 "type": "text", 114 "value": "charlie: bravo: abc", 115 "value_cmd": null, 116 "when": "" 117 }, 118 { 119 "affix": "", 120 "data_cmd": null, 121 "default": "", 122 "default_cmd": null, 123 "filters": null, 124 "help_text": "", 125 "hidden": false, 126 "is_excluded_from_support": false, 127 "items": null, 128 "multi_value": null, 129 "multiple": false, 130 "name": "delta", 131 "props": null, 132 "readonly": true, 133 "recommended": false, 134 "required": false, 135 "test_proc": null, 136 "title": "Delta Value", 137 "type": "text", 138 "value": "bravo: abc ++ charlie: bravo: abc", 139 "value_cmd": null, 140 "when": "" 141 }, 142 { 143 "affix": "", 144 "data_cmd": null, 145 "default": "", 146 "default_cmd": null, 147 "filters": null, 148 "help_text": "", 149 "hidden": false, 150 "is_excluded_from_support": false, 151 "items": null, 152 "multi_value": null, 153 "multiple": false, 154 "name": "echo", 155 "props": null, 156 "readonly": true, 157 "recommended": false, 158 "required": false, 159 "test_proc": null, 160 "title": "Echo Value", 161 "type": "text", 162 "value": "bravo: abc ++ charlie: bravo: abc", 163 "value_cmd": null, 164 "when": "" 165 } 166 ], 167 "name": "alpha_group", 168 "test_proc": null, 169 "title": "", 170 "when": "" 171 } 172 ]