Skip to content

Commit 493dd5e

Browse files
committed
appdaemon: ship elco-remocon-net app via fleet ConfigMap
The app's apps.yaml block and the elco-remocon-net-appdaemon.py module are now packaged in a ConfigMap (appdaemon-elco-app) and mounted at /conf/apps/elco, replacing the previous workflow of kubectl cp'ing the file onto the PVC. AppDaemon scans /conf/apps recursively, so the new mount is picked up automatically alongside the upstream hello example that still lives on the PVC. The python source is embedded verbatim via a literal block in the CM yaml; regen-elco-app-cm.py rebuilds the CM yaml from ~/elco-remocon-net-appdaemon when the upstream source changes.
1 parent d6fa99a commit 493dd5e

3 files changed

Lines changed: 699 additions & 0 deletions

File tree

appdaemon/appdaemon-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,16 @@ spec:
4545
mountPath: /conf/secrets.yaml
4646
subPath: secrets.yaml
4747
readOnly: true
48+
- name: appdaemon-elco-app
49+
mountPath: /conf/apps/elco
50+
readOnly: true
4851
volumes:
4952
- name: appdaemon-conf
5053
persistentVolumeClaim:
5154
claimName: appdaemon-conf
5255
- name: appdaemon-secrets-yaml
5356
secret:
5457
secretName: appdaemon-secrets-yaml
58+
- name: appdaemon-elco-app
59+
configMap:
60+
name: appdaemon-elco-app

0 commit comments

Comments
 (0)