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
fix: apply a dummy default controller config (#215)
to make garm work after the initialization, we apply a default config
for webhookURL, metadataURL and callbackURL
this config will be overwritten once a garmserverconfig CR got applied
during the initial start of garm with the operator, the `controller
info` will look like:
```bash
+-------------------------+-------------------------------------------------------------------------+
| FIELD | VALUE |
+-------------------------+-------------------------------------------------------------------------+
| Controller ID | dd2524b9-0789-499d-ba7d-3dba65cf9d3f |
| Hostname | garm-server-7c9d8f57b6-54zt2 |
| Metadata URL | https://initial.metadata.garm.cloud |
| Callback URL | https://initial.callback.garm.cloud |
| Webhook Base URL | https://initial.webhook.garm.cloud |
| Controller Webhook URL | https://initial.webhook.garm.cloud/dd2524b9-0789-499d-ba7d-3dba65cf9d3f |
| Minimum Job Age Backoff | 30 |
| Version | v0.1.5 |
+-------------------------+-------------------------------------------------------------------------+
```
after a corresponding `garmserverconfig` CR gets applied, the
`controller info` will look like:
```bash
garm-cli-v0.1.5 controller show
+-------------------------+---------------------------------------------------------------------------------------------+
| FIELD | VALUE |
+-------------------------+---------------------------------------------------------------------------------------------+
| Controller ID | dd2524b9-0789-499d-ba7d-3dba65cf9d3f |
| Hostname | garm-server-7c9d8f57b6-54zt2 |
| Metadata URL | http://garm-server.garm-server.svc:9997/api/v1/metadata |
| Callback URL | http://garm-server.garm-server.svc:9997/api/v1/callbacks |
| Webhook Base URL | http://garm-server.garm-server.svc:9997/api/v1/webhook |
| Controller Webhook URL | http://garm-server.garm-server.svc:9997/api/v1/webhook/dd2524b9-0789-499d-ba7d-3dba65cf9d3f |
| Minimum Job Age Backoff | 30 |
| Version | v0.1.5 |
+-------------------------+---------------------------------------------------------------------------------------------+
```
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
0 commit comments