-
Notifications
You must be signed in to change notification settings - Fork 5
Cleanup post transfer #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… build file Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
antweiss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this massive improvement! Found a few small issues. LMK what you think.
api/v1alpha2/hook_types.go
Outdated
| // +kubebuilder:validation:Required | ||
| EventType string `json:"eventType"` | ||
|
|
||
| // AgentId specifies the Kagent agent to call when this event occurs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably need to update the variable type in the comment to AgentRef too.
docs/installation.md
Outdated
|
|
||
| ```bash | ||
| TMP_DIR="$(mktemp -d)" && \ | ||
| git clone --depth 1 https://github.com/antweiss/khook.git "$TMP_DIR/khook" && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the repo URL to https://github.com/kagent-dev/khook
README.md
Outdated
| One-liner (no checkout): | ||
| ```bash | ||
| TMP_DIR="$(mktemp -d)" && \ | ||
| git clone --depth 1 https://github.com/antweiss/khook.git "$TMP_DIR/khook" && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the repo URL to https://github.com/kagent-dev/khook
| kind: Hook | ||
| metadata: | ||
| name: ci-cd-monitoring | ||
| namespace: ci-cd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This being an example and hooks being namespaced resources I think it actually makes more sense to stay with ns 'ci-cd' - to show how hooks can be created in any namespace.
| kind: Hook | ||
| metadata: | ||
| name: dev-monitoring | ||
| namespace: development |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Namespace again. I think examples better show hooks in various namespaces.
| kind: Hook | ||
| metadata: | ||
| name: staging-monitoring | ||
| namespace: staging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Namespace
| eventConfigurations: | ||
| # Monitor pod pending issues in CI/CD environments | ||
| - eventType: pod-pending | ||
| agentId: kagent/ci-cd-engineer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And maybe add namespace to agentRef so the example explains how agents in other namespaces can be referenced. (I just realized this myself)
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
|
I pushed a few fixes so that the CRD reflects the agentRef change. But now I'm getting: Need to debug what exactly isn't working here. |
I’ll fix this tomorrow |
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
dd93621 to
b1bb919
Compare
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
|
Working great now! Thanks a lot @EItanya |
antweiss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. thanks @EItanya
Uh oh!
There was an error while loading. Please reload this page.