{{if eq .PackageDescriptor.Package.Type "helm"}}

{{.i18n.Tr "packages.installation"}}

helm repo add gitea {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/helm
helm repo update
helm install {{.PackageDescriptor.Package.Name}} gitea/{{.PackageDescriptor.Package.Name}}
{{if .PackageDescriptor.Metadata.Description}}

{{.i18n.Tr "packages.about"}}

{{.PackageDescriptor.Metadata.Description}}
{{end}} {{if .PackageDescriptor.Metadata.Dependencies}}

{{.i18n.Tr "packages.dependencies"}}

{{range .PackageDescriptor.Metadata.Dependencies}} {{end}}
{{.i18n.Tr "packages.dependency.id"}} {{.i18n.Tr "packages.dependency.version"}}
{{.Name}} {{.Version}}
{{end}} {{if .PackageDescriptor.Metadata.Keywords}}

{{.i18n.Tr "packages.keywords"}}

{{range .PackageDescriptor.Metadata.Keywords}} {{.}} {{end}}
{{end}} {{end}}