argocd-example-apps/plugins/kasane
Alexander Matyushentsev 23eeb0925b
Add config template plugin examples (#7)
2019-02-25 14:19:08 -08:00
..
.gitignore Add config template plugin examples (#7) 2019-02-25 14:19:08 -08:00
Kasanefile Add config template plugin examples (#7) 2019-02-25 14:19:08 -08:00
README.md Add config template plugin examples (#7) 2019-02-25 14:19:08 -08:00
patch.jsonnet Add config template plugin examples (#7) 2019-02-25 14:19:08 -08:00

README.md

Kasane

Kasane is a layering tool for Kubernetes which utilises Jsonnet for deep object modification and patching.

Use following steps to try the application:

  • Follow instructions from custom_tools.md to make sure kasane binary is available in argocd-repo-server pod.
  • Register kasane plugin argocd-cm ConfigMap:
apiVersion: v1
data:
  configManagementPlugins: |
    - name: kasane
      init:
        command: [kasane, update]
      generate:
        command: [kasane, show]    
  • Create application using kasane as a config management plugin name.
argocd app create kasane \
    --config-management-plugin kasane \
    --repo https://github.com/argoproj/argocd-example-apps \
    --path plugins/kasane \
    --dest-server https://kubernetes.default.svc \
    --dest-namespace default