Skip to content

Commit b0aaf17

Browse files
author
olegs-codefresh
authored
Rename yaml context (#92)
1 parent 69a47f3 commit b0aaf17

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

examples/plain-yaml.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ owner: account
66
metadata:
77
name: helm-mongo-values
88
spec:
9-
type: plain-yaml
9+
type: yaml
1010
data:
1111
serviceType: LoadBalancer
1212
image: mongo

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const command = new Command({
1919
})
2020
.option('type', {
2121
describe: 'Specific type of context',
22-
choices: ['config', 'secret', 'helm-repository', 'plain-yaml', 'secret-yaml'],
22+
choices: ['config', 'secret', 'helm-repository', 'yaml', 'secret-yaml'],
2323
})
2424
.option('owner', {
2525
describe: 'Owner of the context',

lib/interface/cli/commands/pipeline/dynamic/install-chart.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const install = new Command({
4242
required: true,
4343
})
4444
.option('context', {
45-
description: 'Contexts (plain-yaml) to be passed to the install',
45+
description: 'Contexts (yaml || secret-yaml) to be passed to the install',
4646
array: true,
4747
})
4848
.option('release-name', {

lib/logic/api/helm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { sendHttpRequest } = require('./helper');
55
const { getContextByName } = require('./context');
66

77
const SUPPORTED_TYPES = [
8-
'plain-yaml',
8+
'yaml',
99
'secret-yaml',
1010
];
1111

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.6.9",
3+
"version": "0.6.91",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)