@toa.io/operations 0.24.0-alpha.18 → 0.24.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/operations",
3
- "version": "0.24.0-alpha.18",
3
+ "version": "0.24.0-alpha.19",
4
4
  "description": "Toa Deployment",
5
5
  "homepage": "https://toa.io",
6
6
  "author": {
@@ -27,12 +27,12 @@
27
27
  "test": "echo \"Error: run tests from root\" && exit 1"
28
28
  },
29
29
  "dependencies": {
30
- "@toa.io/filesystem": "0.24.0-alpha.18",
31
- "@toa.io/generic": "0.24.0-alpha.18",
32
- "@toa.io/norm": "0.24.0-alpha.18",
33
- "@toa.io/yaml": "0.24.0-alpha.18",
30
+ "@toa.io/filesystem": "0.24.0-alpha.19",
31
+ "@toa.io/generic": "0.24.0-alpha.19",
32
+ "@toa.io/norm": "0.24.0-alpha.19",
33
+ "@toa.io/yaml": "0.24.0-alpha.19",
34
34
  "execa": "5.1.1",
35
35
  "fs-extra": "11.1.1"
36
36
  },
37
- "gitHead": "d5bd28a7152bbd99724c54740abea2cc2de8e98e"
37
+ "gitHead": "5e251e2f9ec49448c0a038d7aa07b01ba2b8d065"
38
38
  }
@@ -8,5 +8,8 @@
8
8
  secretKeyRef:
9
9
  name: {{ .secret.name }}
10
10
  key: {{ .secret.key }}
11
+ {{- if .secret.optional }}
12
+ optional: {{ .secret.optional }}
13
+ {{- end }}
11
14
  {{- end }}
12
15
  {{- end }}
@@ -12,6 +12,7 @@ compositions:
12
12
  secret:
13
13
  name: secret-name
14
14
  key: secret-key
15
+ optional: false
15
16
  - name: users
16
17
  image: localhost:5000/composition-users:0.0.0
17
18
  replicas: 3
@@ -18,6 +18,7 @@ export type Variable = {
18
18
  secret?: {
19
19
  name: string,
20
20
  key: string
21
+ optional?: boolean
21
22
  }
22
23
  }
23
24