Socket
Book a DemoInstallSign in
Socket

kubepack.dev/module

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kubepack.dev/module

v0.0.0-20230304043712-9d6bf34e522e
Go
Version published
Created
Source

module

Run Controller

make manifests fmt
kubectl apply -f config/crd/bases/pkg.x-helm.dev_modules.yaml
kubectl apply -f config/crd/bases/pkg.x-helm.dev_moduleexecstatuses.yaml

make run

kubectl create ns demo
kubectl apply -f cmd/myflow.yaml
helm repo add module-testdata https://raw.githubusercontent.com/kubepack/module-testdata/master/stable/
helm repo update

--set values

  • https://github.com/helm/helm/blob/main/pkg/cli/values/options.go#L60-L72
  • https://github.com/helm/helm/blob/main/pkg/strvals/parser.go#L415-L446

Render Templates

Zero Template Chart

  • Must always use Install action
  • Can't use Install or Upgrade to remove any YAMLs

** ToDos **

  • Auto Register Application CRD

Multi-chart

  • ownership checks for resources
  metadata:
    annotations:
      meta.helm.sh/release-name: first
      meta.helm.sh/release-namespace: default
    labels:
      app.kubernetes.io/managed-by: Helm
  • storage driver ownership
	// apply labels
	lbs.set("name", rls.Name)
	lbs.set("owner", "helm")
	lbs.set("status", rls.Info.Status.String())
	lbs.set("version", strconv.Itoa(rls.Version))

** Chart Annotations **

	// Annotations are additional mappings uninterpreted by Helm,
	// made available for inspection by other applications.
	Annotations map[string]string `json:"annotations,omitempty"`
  • app.kubernetes.io/part-of
  • meta.x-helm.dev/editor: {gvr}
  • meta.x-helm.dev/resources: |
    • { GK }
    • { GK }

FAQs

Package last updated on 04 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.