mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Fix: strange string in cmd input in the chart summary
Should using backquotes instead of doublequotes to string that need interpreted. Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
31f45ae908
commit
213dd39b5b
@ -37,10 +37,10 @@ export class ChartDetailSummaryComponent implements OnInit {
|
|||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.addCMD = "helm repo add --ca-file <ca file> --cert-file <cert file> --key-file <key file> \
|
this.addCMD = `helm repo add --ca-file <ca file> --cert-file <cert file> --key-file <key file> \
|
||||||
--username <username> --password <password> <repo name> ${this.repoURL}/chartrepo/${this.projectName}";
|
--username <username> --password <password> <repo name> ${this.repoURL}/chartrepo/${this.projectName}`;
|
||||||
this.installCMD = "helm install --ca-file <ca file> --cert-file <cert file> --key-file <key file> \
|
this.installCMD = `helm install --ca-file <ca file> --cert-file <cert file> --key-file <key file> \
|
||||||
--username=<username> --password=<password> --version ${this.chartVersion} <repo name>/${this.chartName}";
|
--username=<username> --password=<password> --version ${this.chartVersion} <repo name>/${this.chartName}`;
|
||||||
this.verifyCMD = `helm verify --keyring <key path> ${this.chartName}-${this.chartVersion}.tgz`;
|
this.verifyCMD = `helm verify --keyring <key path> ${this.chartName}-${this.chartVersion}.tgz`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user