I would like to exclude nfs helm chart for cloud deployments. As per the documentation. I tried specifying kots.io/exclude annotation. It doesn’t seem to be working.
apiVersion: kots.io/v1beta1
kind: HelmChart
metadata:
annotations:
kots.io/exclude: '{{repl not IsKurl}}'
name: nfs-server-provisioner
namespace: '{{repl Namespace}}'
spec:
chart:
name: nfs-server-provisioner
chartVersion: 1.1.3
values:
persistence:
enabled: true
size: 100Gi
What Is the issue here?
Doesn’t helm chart exclude doesn’t work with repl templates?