Untitled
cion
plain_text
a year ago
4.1 kB
9
Indexable
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: {{ .Values.appName }}-virtual-service
namespace: {{ .Values.namespace }}
spec:
hosts:
- {{ .Values.networking.dnsName }}
gateways:
- istio-system/end-user-gateway
http:
- route:
- destination:
host: {{ .Values.appName }}.{{ .Values.namespace }}.svc.cluster.local
port:
number: {{ .Values.networking.servicePort }}
------------------------
Error:
4s
Run ls -hal **
-rw-r--r-- 1 root root 60 Jul 12 13:59 README.md
-rw-r----- 1 root root 4.3K Jul 12 13:59 gha-creds-2fd5aa210b5c9294.json
data-uploader-exposer:
total 24K
drwxr-xr-x 4 root root 4.0K Jul 12 13:59 .
drwxr-xr-x 8 cloudsdk cloudsdk 4.0K Jul 12 13:59 ..
-rw-r--r-- 1 root root 181 Jul 12 13:59 Chart.yaml
drwxr-xr-x 3 root root 4.0K Jul 12 13:59 config
drwxr-xr-x 2 root root 4.0K Jul 12 13:59 templates
-rw-r--r-- 1 root root 1.5K Jul 12 13:59 values.yaml
gcp-deployment-config:
total 20K
drwxr-xr-x 2 root root 4.0K Jul 12 13:59 .
drwxr-xr-x 8 cloudsdk cloudsdk 4.0K Jul 12 13:59 ..
-rw-r--r-- 1 root root 369 Jul 12 13:59 config-dev.yaml
-rw-r--r-- 1 root root 353 Jul 12 13:59 config-prd.yaml
-rw-r--r-- 1 root root 351 Jul 12 13:59 config-uat.yaml
pulse-portal-backend:
total 24K
drwxr-xr-x 4 root root 4.0K Jul 12 13:59 .
drwxr-xr-x 8 cloudsdk cloudsdk 4.0K Jul 12 13:59 ..
-rw-r--r-- 1 root root 221 Jul 12 13:59 Chart.yaml
drwxr-xr-x 3 root root 4.0K Jul 12 13:59 config
-rw-r--r-- 1 root root 1.7K Jul 12 13:59 deployment-values-global.yaml
drwxr-xr-x 2 root root 4.0K Jul 12 13:59 templates
pulse-portal-ui:
total 24K
drwxr-xr-x 4 root root 4.0K Jul 12 13:59 .
drwxr-xr-x 8 cloudsdk cloudsdk 4.0K Jul 12 13:59 ..
-rw-r--r-- 1 root root 163 Jul 12 13:59 Chart.yaml
drwxr-xr-x 3 root root 4.0K Jul 12 13:59 config
-rw-r--r-- 1 root root 989 Jul 12 13:59 deployment-values-global.yaml
drwxr-xr-x 2 root root 4.0K Jul 12 13:59 templates
install.go:178: [debug] Original chart version: ""
install.go:199: [debug] CHART PATH: /__w/app-helm-charts/app-helm-charts/pulse-portal-ui
Error: INSTALLATION FAILED: YAML parse error on pulse-portal-ui/templates/virtualservice.yaml: error converting YAML to JSON: yaml: line 3: did not find expected key
helm.go:88: [debug] error converting YAML to JSON: yaml: line 3: did not find expected key
YAML parse error on pulse-portal-ui/templates/virtualservice.yaml
helm.sh/helm/v3/pkg/releaseutil.(*manifestFile).sort
helm.sh/helm/v3/pkg/releaseutil/manifest_sorter.go:146
helm.sh/helm/v3/pkg/releaseutil.SortManifests
helm.sh/helm/v3/pkg/releaseutil/manifest_sorter.go:106
helm.sh/helm/v3/pkg/action.(*Configuration).renderResources
helm.sh/helm/v3/pkg/action/action.go:165
helm.sh/helm/v3/pkg/action.(*Install).RunWithContext
helm.sh/helm/v3/pkg/action/install.go:259
main.runInstall
helm.sh/helm/v3/cmd/helm/install.go:265
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:125
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.2.1/command.go:902
main.main
helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371
INSTALLATION FAILED
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.2.1/command.go:902
main.main
helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
runtime/proc.go:225
runtime.goexit
runtime/asm_amd64.s:1371Editor is loading...
Leave a Comment