Skip to content

(bugfix/cmd/helm/history): update history table MaxColWidth - #1914

Merged
thomastaylor312 merged 1 commit into
helm:masterfrom
lachie83:bugfix-match-history-maxcolwidth
Feb 4, 2017
Merged

thomastaylor312 merged 1 commit into
helm:masterfrom
lachie83:bugfix-match-history-maxcolwidth

Conversation

@lachie83

@lachie83 lachie83 commented Feb 4, 2017 •

Copy link
Copy Markdown
Contributor

update helm history table to match helm list MaxColWidth to stop longer <release_name>-<chart_version> variants. Long term would be to implement -o wide to use shorter column widths unless specifically asked.

https://github.com/kubernetes/helm/blob/8d75b0c0c0b50f52f8313cbaf41b9fcb775345cf/cmd/helm/history.go#L100
https://github.com/kubernetes/helm/blob/8d75b0c0c0b50f52f8313cbaf41b9fcb775345cf/cmd/helm/list.go#L200

Example

Before

helm history jaunty-llama
REVISION	UPDATED                 	STATUS  	CHART                         
1       	Fri Feb  3 15:58:10 2017	DEPLOYED	alpine-1.0.847.192312075-16...

After

./helm history jaunty-llama
REVISION	UPDATED                 	STATUS  	CHART                              	DESCRIPTION
1       	Fri Feb  3 15:58:10 2017	DEPLOYED	alpine-1.0.847.192312075-165164_365	

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants