{{- if .Values.plugin.enabled }} apiVersion: catalog.cattle.io/v1 kind: UIPlugin metadata: name: {{ include "plugin-server.fullname" . }} namespace: {{ .Release.Namespace }} labels: {{ include "plugin-server.labels" . | nindent 4 }} spec: plugin: # should initially follow the design of the Helm Chart.yaml fields, could discuss modifying this name: {{ include "plugin-server.fullname" . }} version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }} endpoint: https://raw.githubusercontent.com/nflondo/my-app/gh-pages/extensions/test/0.1.2 noCache: {{ .Values.plugin.noCache }} {{- end }}