Skip to content

Add support for extraManifests #26

@CiucurDaniel

Description

@CiucurDaniel

Would it be possible to add a new value called extraManifests. As the name implies, it will provide means to deploy extra manifests as an array.

This is something which already exists in other charts such as the popular kube-prometheus-stack.

The use case for this is, for example, suppose you are using Istio on your cluster and you would like to be able to specify a Virtual Service definition to be deployed with the chart used for accessing your zipkin ui.

eg:

 # Extra manifests to deploy as an array
  extraManifests: 
    - apiVersion: networking.istio.io/v1beta1
      kind: VirtualService
      metadata:
        name: zipkin-vs
        namespace: zipkin
      spec:
        hosts:
        - "some-host.com"
        gateways:
        - some/gateway
        http:
        - match:
          - uri:
              prefix: "/zipkin"
          route:
          - destination:
              host: zipkin
              port:
                number: 9411

Implementation should be simple:

# templates/extra-objects.yaml

{{ range .Values.extraManifests }}
---
{{ tpl (toYaml .) $ }}
{{ end }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions