Skip to content

Rename yaml context #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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