github.com/spotahome/redis-operator@v1.2.4/example/redisfailover/control-label-propagation.yaml (about) 1 apiVersion: databases.spotahome.com/v1 2 kind: RedisFailover 3 metadata: 4 name: redisfailover2 5 labels: 6 # These two labels will be propagated. 7 app.example.com/label1: value 8 app.example.com/label2: value 9 # This one wont be, as there is a non-empty whitelist and the regexp doesnt match it. 10 anotherlabel: value 11 spec: 12 sentinel: 13 replicas: 3 14 resources: 15 requests: 16 cpu: 100m 17 limits: 18 memory: 100Mi 19 redis: 20 replicas: 3 21 resources: 22 requests: 23 cpu: 100m 24 memory: 100Mi 25 limits: 26 cpu: 400m 27 memory: 500Mi 28 labelWhitelist: 29 - ^app.example.com.*