Skip to content

Commit c412702

Browse files
author
olegs-codefresh
authored
Support creation helm-plain-text-values schema
1 parent 2088dab commit c412702

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

examples/helm-values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
# Using this example you can install helm mongodb chart and set the service type as LoadBalancer instaed default ClusterIp
3+
# https://github.com/kubernetes/charts/blob/master/stable/mongodb/values.yaml
4+
kind: context
5+
owner: account
6+
metadata:
7+
name: helm-mongo-values
8+
spec:
9+
type: helm-plain-text-values
10+
data:
11+
serviceType: LoadBalancer
12+
image: mongo

lib/interface/cli/commands/context/create.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const command = new Command({
1616
})
1717
.positional('type', {
1818
describe: 'Type of the context',
19-
choices: ['config', 'secret', 'helm-repository'],
19+
choices: ['config', 'secret', 'helm-repository', 'helm-plain-text-values'],
2020
})
2121
.option('owner', {
2222
describe: 'Owner of the context',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.4.3",
3+
"version": "0.4.4",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)