feat: replace - in template vars

This commit is contained in:
franklin
2021-03-30 14:34:21 +02:00
parent 0379838651
commit edad11ed7e
3 changed files with 46 additions and 7 deletions
+13
View File
@@ -22,3 +22,16 @@ squadron:
base64: <% base64 "1234567890" %>
values: |
<% file "testdata/config-template/values.yaml" | indent 8 %>
frontend-admin:
chart:
name: mychart
version: 0.1.0
repository: http://helm.mycompany.com/repository
builds:
default:
tag: latest
image: docker.mycompany.com/mycomapny/frontend-admin
values:
image:
tag: <% .Squadron.frontend_admin.builds.default.tag %>
repository: <% .Squadron.frontend_admin.builds.default.image %>
+13
View File
@@ -23,3 +23,16 @@ squadron:
bar:
- foo
- bar
frontend-admin:
chart:
name: mychart
repository: http://helm.mycompany.com/repository
version: 0.1.0
builds:
default:
image: docker.mycompany.com/mycomapny/frontend-admin
tag: latest
values:
image:
repository: docker.mycompany.com/mycomapny/frontend-admin
tag: latest