Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

868 B
Raw Blame
{{- with .Values.certificate }}
{{- if .enabled }}
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: {{ .secretName }}
  labels:
    {{- include "helm.labels" $ | nindent 4 }}
spec:
  dnsNames:
    {{- toYaml .dnsNames | nindent 4 }}
  issuerRef:
    {{- toYaml .issuerRef | nindent 4 }}
  secretName: {{ .secretName }}
{{- if .referenceGrant.enabled }}
---
# A Gateway in another namespace needs this grant to read the certificate Secret.
apiVersion: gateway.networking.k8s.io/v1beta1
kind: ReferenceGrant
metadata:
  name: {{ include "helm.fullname" $ }}-tls
  labels:
    {{- include "helm.labels" $ | nindent 4 }}
spec:
  from:
    - group: gateway.networking.k8s.io
      kind: Gateway
      namespace: {{ .referenceGrant.gatewayNamespace }}
  to:
    - group: ""
      kind: Secret
      name: {{ .secretName }}
{{- end }}
{{- end }}
{{- end }}