Skip to content

Commit

Permalink
fix/Disable PVC annotation selector by default (#19)
Browse files Browse the repository at this point in the history
This will disable the PVC annotation selector by default.
By enabling it through the Helm chart the following configuration should
be set:

```
controller: 
    pvcAnnotationSelector:
        enabled: true
```
  • Loading branch information
tal-asulin authored Nov 19, 2023
2 parents 55dd6d0 + d3021e7 commit e8076d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func main() {
"Enabling this will ensure there is only one active controller manager.")
flag.BoolVar(&dryrun, "dry-run", false, "Enable controller in dry-run mode.")
flag.BoolVar(&devLogging, "dev-logging", false, "Enable controller logger in dev format with stack tracing.")
flag.BoolVar(&pvcSelector, "enable-pvc-selector", true, "Manage only PVC objects marked with custom annotation.")
flag.BoolVar(&pvcSelector, "enable-pvc-selector", false, "Manage only PVC objects marked with custom annotation.")
flag.StringVar(&pvcAnoCustomKey, "pvc-annotation-custom-key", "appsflyer.com/local-pvc-releaser", "PVC Annotations filter key.")
flag.StringVar(&pvcAnoCustomValue, "pvc-annotation-custom-value", "enabled", "PVC Annotations filter value.")
flag.Parse()
Expand Down

0 comments on commit e8076d7

Please sign in to comment.