Skip to content

kubasobon/kustomize-plugin-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kustomize plugin showcase

DockerHub

Proves we could use containerized tools (like konfigure) to modify our kustomizations.

main.go, containerized as docker.io/wttyf00l/konfigure-plugin:latest, adds a ConfigMap in process of modifying existing app resources.

Requires kustomize v4

Usage:

docker build -t docker.io/wttyf00l/konfigure-plugin:latest .
kustomize build --enable-alpha-plugins app/

Expected output:

apiVersion: v1
data:
  registry: docker.io
  ttl: 24h
kind: ConfigMap
metadata:
  creationTimestamp: null
  name: from-plugin
---
apiVersion: v1
kind: Service
metadata:
  name: the-service
spec:
  ports:
  - port: 8666
    protocol: TCP
    targetPort: 8080
  type: LoadBalancer

About

Showcases containerized kustomize plugins (alpha)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published