Skip to content

Commit

Permalink
fix tiny comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Radeity committed Jul 22, 2023
1 parent 4b8e8f5 commit 0de4449
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions computer-k8s-operator/crd-generate/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ func main() {
var enableLeaderElection bool
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
"Enable leader election for controller manager. "+
"Enabling this will ensure there is only one active controller manager.")
"Enable leader election for controller manager. " +
"Enabling this will ensure there is only one active controller manager.")
opts := zap.Options{
Development: true,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ spec:
spec:
containers:
- name: manager
# TODO: check whether need this
args:
- "--config=controller_manager_config.yaml"
volumeMounts:
Expand All @@ -34,4 +33,4 @@ spec:
volumes:
- name: manager-config
configMap:
name: manager-config
name: manager-config

0 comments on commit 0de4449

Please sign in to comment.