---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
  name: this
  namespace: default
spec:
  interval: 1m
  url: "{{ .Values.url }}"
  ref:
    {{- if .Values.branch }}
    branch: "{{ .Values.branch }}"
    {{- end}}
    {{- if .Values.tag }}
    tag: "{{ .Values.tag }}"
    {{- end}}
