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
The `make run` will execute the `main.go` outside of the cluster to let you test the project running it locally. Note that by using this plugin the Operand image informed will be stored via an environment variable in the `config/manager/manager.yaml` manifest.
40
+
41
+
Therefore, before run `make run` you need to export any environment variable that you might have. Example:
42
+
43
+
```sh
44
+
export MEMCACHED_IMAGE="memcached:1.4.36-alpine"
45
+
```
46
+
47
+
</aside>
48
+
35
49
## Subcommands
36
50
37
51
The deploy-image plugin implements the following subcommands:
@@ -48,8 +62,8 @@ With the `create api` command of this plugin, in addition to the existing scaffo
48
62
-`api/<version>/*_types.go` (scaffold the specs for the new api)
49
63
-`config/samples/*_.yaml` (scaffold default values for its CR)
50
64
-`main.go` (update to add controller setup)
51
-
-`config/manager.yaml` (update with envvar to store the image)
65
+
-`config/manager/manager.yaml` (update with envvar to store the image)
0 commit comments