cmd.Flags().Var(&postRenderer{varRef},postRenderFlag,"the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path")
f.BoolVar(&client.Wait,"wait",false,"if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout")
f.BoolVarP(&client.GenerateName,"generate-name","g",false,"generate the name (and omit the NAME parameter)")
f.StringVar(&client.NameTemplate,"name-template","","specify template used to name the release")
f.StringVar(&client.Description,"description","","add a custom description")
f.BoolVar(&client.Devel,"devel",false,"use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored")
f.BoolVar(&client.DependencyUpdate,"dependency-update",false,"run helm dependency update before installing the chart")
f.BoolVar(&client.DisableOpenAPIValidation,"disable-openapi-validation",false,"if set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema")
f.BoolVar(&client.Atomic,"atomic",false,"if set, installation process purges chart on fail. The --wait flag will be set automatically if --atomic is used")
f.BoolVar(&client.SkipCRDs,"skip-crds",false,"if set, no CRDs will be installed. By default, CRDs are installed if not already present")
f.BoolVar(&client.SubNotes,"render-subchart-notes",false,"if set, render subchart notes along with the parent")
f.StringArrayVarP(&showFiles,"show-only","s",[]string{},"only show manifests rendered from the given templates")
f.StringVar(&client.OutputDir,"output-dir","","writes the executed templates to files in output-dir instead of stdout")
f.BoolVar(&validate,"validate",false,"validate your manifests against the Kubernetes cluster you are currently pointing at. This is the same validation performed on an install")
f.BoolVar(&includeCrds,"include-crds",false,"include CRDs in the templated output")
f.BoolVar(&client.IsUpgrade,"is-upgrade",false,"set .Release.IsUpgrade instead of .Release.IsInstall")
f.StringArrayVarP(&extraAPIs,"api-versions","a",[]string{},"Kubernetes api versions used for Capabilities.APIVersions")
f.BoolVar(&client.UseReleaseName,"release-name",false,"use release name in the output-dir path.")
# 15 (11th object within 02-b.yml, in order to test `SplitManifests` which assigns `manifest-10`
# to this object which should then come *after* `manifest-9`)
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: fifteenth
spec:
podSelector: {}
policyTypes:
- Egress
- Ingress
---
# Source: object-order/templates/01-a.yml
# 4 (Deployment should come after all NetworkPolicy manifests, since 'helm template' outputs in install order)
apiVersion: apps/v1
kind: Deployment
metadata:
name: fourth
spec:
selector:
matchLabels:
pod: fourth
replicas: 1
template:
metadata:
labels:
pod: fourth
spec:
containers:
- name: hello-world
image: gcr.io/google-samples/node-hello:1.0
---
# Source: object-order/templates/02-b.yml
# 6 (implementation detail: currently, 'helm template' outputs hook manifests last; and yes, NetworkPolicy won't make a reasonable hook, this is just a dummy unit test manifest)
# 6 (implementation detail: currently, 'helm template' outputs hook manifests last; and yes, NetworkPolicy won't make a reasonable hook, this is just a dummy unit test manifest)
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
annotations:
"helm.sh/hook": pre-install
name:sixth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 7
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:seventh
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 8
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:eighth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 9
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:ninth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 10
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:tenth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 11
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:eleventh
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 12
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:twelfth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 13
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:thirteenth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 14
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:fourteenth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
---
# 15 (11th object within 02-b.yml, in order to test `SplitManifests` which assigns `manifest-10`
# to this object which should then come *after* `manifest-9`)
apiVersion:networking.k8s.io/v1
kind:NetworkPolicy
metadata:
name:fifteenth
spec:
podSelector:{}
policyTypes:
- Egress
- Ingress
Some files were not shown because too many files have changed in this diff
Show More