-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maint: [network-agent] fix up network-agent chart (#296)
## Which problem is this PR solving? [Failed release](https://app.circleci.com/pipelines/github/honeycombio/helm-charts/819/workflows/01cf638e-3eef-4593-81f9-757850d900dc/jobs/431) because Chart name (hny-network-agent) didn't match directory name (network-agent). ## Short description of the changes - We opted for network-agent for chart name because honeycomb and/or honeycombio will be included when using the chart. The dataset names and container/pod names are intentionally kept as hny-network-agent to make it more easily distinguishable since these are things the user will see in a running k8s cluster. - Added the environment variables necessary for the use of k8s downward API in the agent, which adds k8s metadata to events so the agent knows things about itself. ## How to verify that this has the expected result Events have all expected k8s metadata... and the release works 😅 😅 --------- Co-authored-by: Robb Kidd <[email protected]>
- Loading branch information
1 parent
b071834
commit 979e495
Showing
8 changed files
with
49 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ include "hny-network-agent.fullname" . }} | ||
name: {{ include "network-agent.fullname" . }} | ||
labels: | ||
{{- include "hny-network-agent.labels" . | nindent 4 }} | ||
{{- include "network-agent.labels" . | nindent 4 }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ include "hny-network-agent.fullname" . }} | ||
name: {{ include "network-agent.fullname" . }} | ||
subjects: | ||
- kind: ServiceAccount | ||
namespace: {{ .Release.Namespace }} | ||
name: {{ include "hny-network-agent.fullname" . }} | ||
name: {{ include "network-agent.fullname" . }} |
This file contains 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 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 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ include "hny-network-agent.fullname" . }} | ||
name: {{ include "network-agent.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "hny-network-agent.labels" . | nindent 4 }} | ||
{{- include "network-agent.labels" . | nindent 4 }} |