Skip to content

Commit

Permalink
Rename yaml context (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
olegs-codefresh authored Jan 14, 2018
1 parent 69a47f3 commit b0aaf17
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/plain-yaml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ owner: account
metadata:
name: helm-mongo-values
spec:
type: plain-yaml
type: yaml
data:
serviceType: LoadBalancer
image: mongo
2 changes: 1 addition & 1 deletion lib/interface/cli/commands/context/create.cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const command = new Command({
})
.positional('type', {
describe: 'Type of the context',
choices: ['config', 'secret', 'helm-repository', 'plain-yaml', 'secret-yaml'],
choices: ['config', 'secret', 'helm-repository', 'yaml', 'secret-yaml'],
})
.option('owner', {
describe: 'Owner of the context',
Expand Down
2 changes: 1 addition & 1 deletion lib/interface/cli/commands/context/get.cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const command = new Command({
})
.option('type', {
describe: 'Specific type of context',
choices: ['config', 'secret', 'helm-repository', 'plain-yaml', 'secret-yaml'],
choices: ['config', 'secret', 'helm-repository', 'yaml', 'secret-yaml'],
})
.option('owner', {
describe: 'Owner of the context',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const install = new Command({
required: true,
})
.option('context', {
description: 'Contexts (plain-yaml) to be passed to the install',
description: 'Contexts (yaml || secret-yaml) to be passed to the install',
array: true,
})
.option('release-name', {
Expand Down
2 changes: 1 addition & 1 deletion lib/logic/api/helm.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { sendHttpRequest } = require('./helper');
const { getContextByName } = require('./context');

const SUPPORTED_TYPES = [
'plain-yaml',
'yaml',
'secret-yaml',
];

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codefresh",
"version": "0.6.9",
"version": "0.6.91",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
Expand Down

0 comments on commit b0aaf17

Please sign in to comment.