Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
[node-red] fix ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
sob committed Aug 9, 2022
1 parent 08def9e commit dc77929
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions cluster/apps/home/node-red/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@ metadata:
name: node-red
namespace: home
spec:
interval: 5m
interval: 15m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: node-red
version: 10.3.2
version: 0.1.1
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
name: bjw-s-charts
namespace: flux-system
interval: 5m
dependsOn:
- name: rook-ceph-cluster
namespace: rook-ceph

install:
createNamespace: true
remediation:
retries: 5
upgrade:
remediation:
retries: 5
values:
image:
repository: ghcr.io/sob/node-red
Expand All @@ -28,15 +30,17 @@ spec:
TZ: "America/Chicago"
NODE_RED_ENABLE_PROJECTS: "true"
NODE_RED_ENABLE_SAFE_MODE: "false"
service:
main:
ports:
http:
port: 1880
ingress:
main:
enabled: true
ingressClassName: "traefik"
ingressClassName: "nginx"
annotations:
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
external-dns/is-public: "true"
cert-manager.io/cluster-issuer: "letsencrypt-production"
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hajimari.io/enable: "true"
hajimari.io/icon: "resistor-nodes"
hajimari.io/group: "automation"
Expand All @@ -48,9 +52,14 @@ spec:
tls:
- hosts:
- "node-red.${SECRET_DOMAIN}"
secretName: "node-red-tls"
persistence:
config:
enabled: true
existingClaim: node-red-config-v1
mountPath: "/data"
resources:
requests:
cpu: 10m
memory: 100Mi
limits:
memoty: 500Mi

0 comments on commit dc77929

Please sign in to comment.