diff --git a/kubernetes/main/apps/home-automation/zigbee2mqtt/code/helmrelease.yaml b/kubernetes/main/apps/home-automation/zigbee2mqtt/code/helmrelease.yaml deleted file mode 100644 index ca1959cbb..000000000 --- a/kubernetes/main/apps/home-automation/zigbee2mqtt/code/helmrelease.yaml +++ /dev/null @@ -1,97 +0,0 @@ ---- -# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json -apiVersion: helm.toolkit.fluxcd.io/v2 -kind: HelmRelease -metadata: - name: &app zigbee2mqtt-code -spec: - interval: 30m - chart: - spec: - chart: app-template - version: 3.4.0 - sourceRef: - kind: HelmRepository - name: bjw-s - namespace: flux-system - maxHistory: 2 - install: - remediation: - retries: 3 - upgrade: - cleanupOnFail: true - remediation: - strategy: rollback - retries: 3 - uninstall: - keepHistory: false - values: - controllers: - zigbee2mqtt-code: - annotations: - reloader.stakater.com/auto: "true" - containers: - app: - image: - repository: ghcr.io/coder/code-server - tag: 4.93.1@sha256:c69e398d1b64589b3b77a7becfd03f4ec524982def20e6bffbb51b1b839e72ba - args: - - --auth - - none - - --user-data-dir - - /config/.vscode - - --extensions-dir - - /config/.vscode - - --port - - "8888" - - /config - resources: - requests: - cpu: 10m - memory: 128Mi - limits: - memory: 1Gi - pod: - securityContext: - runAsUser: 0 - runAsGroup: 0 - fsGroup: 0 - fsGroupChangePolicy: OnRootMismatch - affinity: - podAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app.kubernetes.io/name - operator: In - values: ["zigbee2mqtt"] - - key: app.kubernetes.io/instance - operator: In - values: ["zigbee2mqtt"] - topologyKey: kubernetes.io/hostname - service: - app: - controller: *app - ports: - http: - port: 8888 - ingress: - app: - className: "internal-nginx" - annotations: - external-dns.alpha.kubernetes.io/target: ingress-int.econline.nl - hosts: - - host: &host zigbee2mqtt-code.econline.nl - paths: - - path: / - pathType: Prefix - service: - identifier: app - port: http - tls: - - hosts: - - *host - persistence: - config: - enabled: true - existingClaim: zigbee2mqtt-data diff --git a/kubernetes/main/apps/home-automation/zigbee2mqtt/code/kustomization.yaml b/kubernetes/main/apps/home-automation/zigbee2mqtt/code/kustomization.yaml deleted file mode 100644 index 5aa94a532..000000000 --- a/kubernetes/main/apps/home-automation/zigbee2mqtt/code/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# yaml-language-server: $schema=https://json.schemastore.org/kustomization -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: default -resources: - - ./helmrelease.yaml \ No newline at end of file diff --git a/kubernetes/main/apps/home-automation/zigbee2mqtt/ks.yaml b/kubernetes/main/apps/home-automation/zigbee2mqtt/ks.yaml index 3f28bf8e2..8a6cfb6fb 100644 --- a/kubernetes/main/apps/home-automation/zigbee2mqtt/ks.yaml +++ b/kubernetes/main/apps/home-automation/zigbee2mqtt/ks.yaml @@ -30,35 +30,6 @@ spec: # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization -metadata: - name: &appname zigbee2mqtt-code - namespace: flux-system -spec: - targetNamespace: home-automation - commonMetadata: - labels: - app.kubernetes.io/name: *appname - interval: 10m - path: "./kubernetes/main/apps/home-automation/zigbee2mqtt/code" - prune: true - sourceRef: - kind: GitRepository - name: home-ops-kubernetes - wait: false - dependsOn: - - name: rook-ceph-cluster - - name: volsync - - name: external-secrets-stores - - name: mosquitto - - name: zigbee2mqtt - postBuild: - substitute: - APP: *appname - VOLSYNC_CLAIM: zigbee2mqtt-data ---- -# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization metadata: name: &appname zigbee2mqtt-exporter namespace: flux-system