Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
Display instructions for using stable repo (#652)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Dolitsky <[email protected]>
  • Loading branch information
jdolitsky authored and Adnan Abdulhussein committed Nov 11, 2019
1 parent 77b7967 commit 1402653
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h1>Install</h1>
<mat-tab-group>
<mat-tab label="Helm CLI">
<div *ngIf="showRepoInstructions" class="chart-details-usage__repository">
<div class="chart-details-usage__repository">
<h2 class="chart-details-usage__label">Add {{ chart.attributes.repo.name }} repository</h2>
<mat-form-field>
<input matInput floatingPlaceholder=false [value]=repoAddInstructions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ export class ChartDetailsUsageComponent implements OnInit {
});
}

get showRepoInstructions(): boolean {
return this.chart.attributes.repo.name != 'stable';
}

get repoAddInstructions(): string {
return `helm repo add ${this.chart.attributes.repo.name} ${this.chart
.attributes.repo.url}`;
Expand Down

0 comments on commit 1402653

Please sign in to comment.