Open ncdc opened 6 years ago
Let's say we want to enable/disable and configure the "foo.com/pod" BackupItemAction. Possible options:
apiVersion: v1
kind: ConfigMap
metadata:
name: foo-com-pod-config
labels:
ark.heptio.com/plugin-config: foo.com/pod
data:
enabled: false
addAnnotations:
color: green
size: small
Let's say we just want to disable a plugin that has no configuration:
--enable-plugins NAME(s)
and/or --disable-plugins NAME(s)
flags to the ark server
apiVersion: v1
kind: ConfigMap
metadata:
name: foo-com-pod-config
labels:
ark.heptio.com/plugin-config: foo.com/pod
ark.heptio.com/plugin-enabled: false
Proposed approach:
--enable-plugins
and/or --disable-plugins
flag for the ark server
to control which plugins are enabledUn-assigned myself since I'm not currently working on this.
For example, some users might not want to enable the plugins that automatically walk from pod to pvc to pv.