I am fine with Redis' default redis.conf, but would just like to change "appendonly" from the default of "no" to "yes". Kubernetes statefulset is, in part:
spec:
containers:
- name: master
image: k8s.gcr.io/redis:e2e
command: ["/usr/local/bin/redis-server"]
args: ["/etc/redis/redis.conf"]
env:
- name: appendonly
value: "yes"
I think I'm way off-track, but struggling to wrap my head around Kubernetes.
Here's what worked and is simpler than using configmaps. I am only using this in test/dev, so of course YMMV if working in prod. The relevant portion: