You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2024. It is now read-only.
@@ -80,6 +80,79 @@ The above example will change the scope of your project to a single Namespace. I
80
80
81
81
Also, it is possible to use the [DefaultNamespaces](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/cache#Options) from cache.Options{} to cache objects in a specific set of namespaces. For further information see [cache.Options{}](https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/cache#Options)
In general, it’s recommended to have one controller responsible for managing each API created for the project to properly follow the design goals set by [controller-runtime](https://github.com/kubernetes-sigs/controller-runtime).
97
+
98
+
## Define the API
99
+
100
+
modify memcached_types
101
+
102
+
```shell
103
+
make generate
104
+
```
105
+
106
+
## Generating CRD manifests
107
+
108
+
```shell
109
+
make manifests
110
+
```
111
+
112
+
## Docker
113
+
114
+
```shell
115
+
./.script/kind-with-registry.sh
116
+
```
117
+
83
118
```shell
84
-
operator-sdk create api --group=cache --version=v1alpha1 --kind=Memcached --resource --controller
119
+
docker tag memcached:1.6.23-alpine3.19 localhost:5001/library/memcached:1.6.23-alpine3.19
0 commit comments