-
Notifications
You must be signed in to change notification settings - Fork 356
Linkerd agent #1157
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
Open
GTRekter
wants to merge
19
commits into
kagent-dev:main
Choose a base branch
from
GTRekter:linkerd-agent
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+474
−2
Open
Linkerd agent #1157
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6cff5fd
Add linkerd
GTRekter 25193c0
Update linkerd
GTRekter 0a69884
feat(ui): add date/time to chat history in sidebar (#1143)
onematchfox 8e64b2a
Restart Agents Automatically On Secret Updates (#1121)
inFocus7 af6adab
fix(controller): ensure upsert works on both Postgres and SQLite (#1137)
onematchfox 3315749
fix(helm): remove sqlite volume+mount if database is postgres (#1140)
onematchfox e9691b0
fix(helm): add error when trying to scale controller with local SQLli…
onematchfox 7eeab5c
Enable use of postgres in local development (#1145)
onematchfox ffeb9bb
Use environment variables for controller configuration (#1139)
onematchfox 7a21230
cncf/incubation: add technical review first draft, update contributio…
sam-heilbron 5ff1df8
Enable leader election on controller when scaled (#1146)
onematchfox 8f93d5a
feat(controller): decouple A2A handler registration from controller r…
onematchfox 99a6a01
chore: Update golangci-lint version and add new linters (#1154)
dongjiang1989 561e5b6
Fix webhookCertWatcher setting (#1155)
dongjiang1989 a4fb08b
restore default values
GTRekter e38d391
Merge branch 'main' into linkerd-agent
GTRekter 33399c8
Restore history-max and re-enable grafana and querydoc
GTRekter 90ea320
re-enable querydoc
GTRekter a1b2834
Merge branch 'linkerd-agent' of https://github.com/GTRekter/kagent in…
GTRekter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| apiVersion: v2 | ||
| name: linkerd-agent | ||
| description: A Linkerd Agent for kagent | ||
| type: application | ||
| version: ${VERSION} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,146 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRole | ||
| metadata: | ||
| name: {{ include "kagent.fullname" . }}-linkerd-role | ||
| labels: | ||
| {{- include "kagent.labels" . | nindent 4 }} | ||
| rules: | ||
| - apiGroups: | ||
| - '' | ||
| resources: | ||
| - namespaces | ||
| - services | ||
| - endpoints | ||
| - pods | ||
| - persistentvolumeclaims | ||
| verbs: | ||
| - "*" | ||
| # EndpointSlices | ||
| - apiGroups: | ||
| - discovery.k8s.io | ||
| resources: | ||
| - endpointslices | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - apps | ||
| resources: | ||
| - deployments | ||
| - daemonsets | ||
| - replicasets | ||
| - statefulsets | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - policy | ||
| resources: | ||
| - poddisruptionbudgets | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - autoscaling | ||
| resources: | ||
| - horizontalpodautoscalers | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - networking.k8s.io | ||
| resources: | ||
| - networkpolicies | ||
| - ingresses | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - rbac.authorization.k8s.io | ||
| resources: | ||
| - clusterroles | ||
| - clusterrolebindings | ||
| - roles | ||
| - rolebindings | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - apiextensions.k8s.io | ||
| resources: | ||
| - customresourcedefinitions | ||
| verbs: | ||
| - "*" | ||
| # API server extension objects | ||
| - apiGroups: | ||
| - apiregistration.k8s.io | ||
| resources: | ||
| - apiservices | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - authentication.k8s.io | ||
| resources: | ||
| - tokenreviews | ||
| - subjectaccessreviews | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - authorization.k8s.io | ||
| resources: | ||
| - selfsubjectaccessreviews | ||
| - selfsubjectrulesreviews | ||
| - subjectaccessreviews | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - policy | ||
| resources: | ||
| - podsecuritypolicies | ||
| verbs: | ||
| - use | ||
| resourceNames: | ||
| - example | ||
| - apiGroups: | ||
| - admissionregistration.k8s.io | ||
| resources: | ||
| - validatingwebhookconfigurations | ||
| - mutatingwebhookconfigurations | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - '' | ||
| resources: | ||
| - secrets | ||
| - configmaps | ||
| - serviceaccounts | ||
| verbs: | ||
| - "*" | ||
| # Linkerd & related CRDs | ||
| - apiGroups: | ||
| - linkerd.io | ||
| - policy.linkerd.io | ||
| - viz.linkerd.io | ||
| - multicluster.linkerd.io | ||
| - split.smi-spec.io | ||
| - tap.linkerd.io | ||
| - gateway.networking.k8s.io | ||
| resources: | ||
| - "*" | ||
| verbs: | ||
| - "*" | ||
| - apiGroups: | ||
| - '' | ||
| resources: | ||
| - pods/portforward | ||
| verbs: | ||
| - create | ||
| --- | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: {{ include "kagent.fullname" . }}-linkerd-rolebinding | ||
| labels: | ||
| {{- include "kagent.labels" . | nindent 4 }} | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: {{ include "kagent.fullname" . }}-linkerd-role | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: {{ include "kagent.fullname" . }} | ||
| namespace: {{ include "kagent.namespace" . }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| modelConfigRef: "" | ||
|
|
||
| resources: | ||
| requests: | ||
| cpu: 100m | ||
| memory: 256Mi | ||
| limits: | ||
| cpu: 1000m | ||
| memory: 1Gi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
any reason for removing this?