Skip to content

Commit

Permalink
migrate mqtt to nfs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes committed Aug 21, 2023
1 parent 04bd1e9 commit cbab77c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/mqtt/deployment/index.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ local deployment = lib.deployment.new(std.extVar('name'), std.extVar('image'), s
+ lib.deployment.withVolumeMount(0, k.core.v1.volumeMount.new('mosquitto-config', '/mosquitto/config/mosquitto.conf') + k.core.v1.volumeMount.withSubPath('mosquitto.conf'));

local configMap = lib.volume.configMapVolume.new('mosquitto-config', mosquittoConfigMap);
local volume = lib.volume.persistentVolume.new('mosquitto', '5Gi');
local pvc = lib.volume.persistentVolume.new('mosquitto', '5Gi');

volume + configMap + std.objectValues(deployment)
pvc + configMap + std.objectValues(deployment)

0 comments on commit cbab77c

Please sign in to comment.