Closed Goorzhel closed 9 months ago
I was puzzling for a few minutes over that v1alpha2
HTTPRoute in my output, until I learnt of the Helm argument -a
and that your builder already uses it. Good show! I'll make my own Helm builders aware of that option later.
Output
```yaml # ❯ nix build .#packages.x86_64-linux.releases.svc.breezewiki # ❯ cat result --- # Source: app-template/templates/common.yaml apiVersion: v1 kind: Service metadata: name: breezewiki labels: app.kubernetes.io/instance: breezewiki app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: breezewiki app.kubernetes.io/service: breezewiki helm.sh/chart: app-template-2.2.0 spec: type: ClusterIP ports: - port: 10416 targetPort: 10416 protocol: TCP name: http selector: app.kubernetes.io/component: main app.kubernetes.io/instance: breezewiki app.kubernetes.io/name: breezewiki --- # Source: app-template/templates/common.yaml --- apiVersion: apps/v1 kind: Deployment metadata: name: breezewiki labels: app.kubernetes.io/component: main app.kubernetes.io/instance: breezewiki app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: breezewiki helm.sh/chart: app-template-2.2.0 spec: revisionHistoryLimit: 3 replicas: 1 strategy: type: Recreate selector: matchLabels: app.kubernetes.io/component: main app.kubernetes.io/name: breezewiki app.kubernetes.io/instance: breezewiki template: metadata: labels: app.kubernetes.io/component: main app.kubernetes.io/instance: breezewiki app.kubernetes.io/name: breezewiki spec: enableServiceLinks: true serviceAccountName: default automountServiceAccountToken: true hostIPC: false hostNetwork: false hostPID: false dnsPolicy: ClusterFirst containers: - image: quay.io/pussthecatorg/breezewiki:latest livenessProbe: failureThreshold: 3 initialDelaySeconds: 0 periodSeconds: 10 tcpSocket: port: 10416 timeoutSeconds: 1 name: main readinessProbe: failureThreshold: 3 initialDelaySeconds: 0 periodSeconds: 10 tcpSocket: port: 10416 timeoutSeconds: 1 startupProbe: failureThreshold: 30 initialDelaySeconds: 0 periodSeconds: 5 tcpSocket: port: 10416 timeoutSeconds: 1 --- # Source: app-template/templates/common.yaml apiVersion: gateway.networking.k8s.io/v1alpha2 kind: HTTPRoute metadata: name: breezewiki labels: app.kubernetes.io/instance: breezewiki app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: breezewiki helm.sh/chart: app-template-2.2.0 spec: parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: svc namespace: svc sectionName: "https" hostnames: - "breezewiki.svc.eureka.lan" rules: - backendRefs: - group: "" kind: Service name: breezewiki namespace: svc port: 10416 weight: 1 ```