multi-stage-helm-chart-demo

command module
v0.0.0-...-1b03ebe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

README

multi-stage-helm-chart-demo

helm upgrade -i multi-stage charts/multi-stage

{{if not (lookup "v1" "Namespace" "" "demo") }}{{ fail "Namespace demo is required" }}{{ end }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ include "multi-stage.serviceAccountName" . }}
  annotations:
  {{- range $k,$v := (lookup "v1" "Namespace" "" "kube-system").metadata.labels }}
    {{$k}}: {{$v}}
  {{- end }}
data:
  ca.crt: |
    {{- dig "data" "ca.crt" "unknown" (lookup "v1" "ConfigMap" (printf "%s" .Release.Namespace) "kube-root-ca.crt") | nindent 4 }}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL