# HTTP/HTTPS web app behind the App agent. Users open it at
# https://<name>.<cluster> in a browser.
apiVersion: almaforge.com/v1
kind: AppTarget
metadata:
  name: grafana # DNS-label name; users type this and it becomes <name>.<cluster>.
  labels: # Static labels matched by Role.appLabels for RBAC.
    env: prod
    team: sre
spec:
  uri: http://grafana.monitoring.svc:3000 # Upstream URL; scheme picks http / https / tcp.
  fqdn: grafana.almaforge.example.com # Externally visible hostname; must be covered by the Proxy's wildcard cert.
