Skip to content

Instantly share code, notes, and snippets.

@fourstepper
Created October 2, 2024 11:38
Show Gist options
  • Save fourstepper/a59492d5723fa8dd1184bfa0966aeb89 to your computer and use it in GitHub Desktop.
Save fourstepper/a59492d5723fa8dd1184bfa0966aeb89 to your computer and use it in GitHub Desktop.
robin.opletal@mba:~/workspace/personal/osko
$ git diff
diff --git a/api/openslo/v1/slo_types.go b/api/openslo/v1/slo_types.go
index 223ae59..093c462 100644
--- a/api/openslo/v1/slo_types.go
+++ b/api/openslo/v1/slo_types.go
@@ -27,6 +27,7 @@ type SLO struct {
ObjectMetaOpenSLO `json:"metadata,omitempty"`
Spec openslov1.SLOSpec `json:"spec,omitempty"`
+ Test string `json:"test,omitempty"`
Status SLOStatus `json:"status,omitempty"`
}
robin.opletal@mba:~/workspace/personal/osko
$ make manifests
/Users/robin.opletal/workspace/personal/osko/bin/controller-gen rbac:roleName=manager-role crd:generateEmbeddedObjectMeta=true webhook paths="./..." output:crd:artifacts:config=config/crd/bases
robin.opletal@mba:~/workspace/personal/osko
$ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment