-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When I'm installing istio chart by helm plugin, it returns 'NoneType' error. After debug, the cause if manifest of helm_status contains empty entry. And will run into issue from below:
cloudify-helm-plugin/helm_sdk/kubernetes.py
Line 125 in f37c74d
| api_version = resource.get('apiVersion') |
Chart manifest:
#Result of command: helm status istio-base -n istio-system -o yaml
config:
defaultRevision: default
info:
deleted: ""
description: Install complete
first_deployed: "2024-08-29T03:18:10.688440447Z"
last_deployed: "2024-08-29T03:18:10.688440447Z"
notes: |
Istio base successfully installed!
To learn more about the release, try:
$ helm status istio-base -n istio-system
$ helm get all istio-base -n istio-system
status: deployed
manifest: |
---
# Source: base/templates/reader-serviceaccount.yaml
# This service account aggregates reader permissions for the revisions in a given cluster
# Should be used for remote secret creation.
apiVersion: v1
kind: ServiceAccount
metadata:
name: istio-reader-service-account
namespace: istio-system
labels:
app: istio-reader
release: istio-base
---
# Source: base/templates/zzz_profile.yaml
# Flatten globals, if defined on a per-chart basis
---
# Source: base/templates/default.yaml
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
The zzz_profile.yaml is empty. From my side, we don't suppose each key of manifest is present as some special chart design.
Metadata
Metadata
Assignees
Labels
No labels
