cr.yaml 648 B

1234567891011121314
  1. {{- if .Values.plugin.enabled }}
  2. apiVersion: catalog.cattle.io/v1
  3. kind: UIPlugin
  4. metadata:
  5. name: {{ include "plugin-server.fullname" . }}
  6. namespace: {{ .Release.Namespace }}
  7. labels: {{ include "plugin-server.labels" . | nindent 4 }}
  8. spec:
  9. plugin: # should initially follow the design of the Helm Chart.yaml fields, could discuss modifying this
  10. name: {{ include "plugin-server.fullname" . }}
  11. version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }}
  12. endpoint: https://raw.githubusercontent.com/nflondo/my-app/gh-pages/extensions/appone/0.1.0
  13. noCache: {{ .Values.plugin.noCache }}
  14. {{- end }}