Skip to content

Commit

Permalink
🌱 fix error faced during release process by ensuring dist directory i…
Browse files Browse the repository at this point in the history
…s cleaned before running GoReleaser (kubernetes-sigs#4040)

fix error faced during release process by ensuring dist directory is cleaned before running GoReleaser
  • Loading branch information
camilamacedo86 committed Jul 24, 2024
1 parent f0fa58a commit 1f59e9b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/book/src/reference/scopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This is configured as follows:

```go
mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{
...
...
})
```

Expand All @@ -30,10 +30,10 @@ To constrain the manager to monitor resources within a specific namespace, set t

```go
mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{
...
Cache: cache.Options{
DefaultNamespaces: map[string]cache.Config{"operator-namespace": cache.Config{}},
},
...
Cache: cache.Options{
DefaultNamespaces: map[string]cache.Config{"operator-namespace": cache.Config{}},
},
})
```

Expand All @@ -43,13 +43,13 @@ A manager can also be configured to watch a specified set of namespaces using [C

```go
mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{
...
Cache: cache.Options{
DefaultNamespaces: map[string]cache.Config{
"operator-namespace1": cache.Config{},
"operator-namespace2": cache.Config{},
},
},
...
Cache: cache.Options{
DefaultNamespaces: map[string]cache.Config{
"operator-namespace1": cache.Config{},
"operator-namespace2": cache.Config{},
},
},
})
```

Expand Down

0 comments on commit 1f59e9b

Please sign in to comment.