-
Notifications
You must be signed in to change notification settings - Fork 272
[WIP] Feat integrate spiffe #1663
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: spire | ||
repository: https://spiffe.github.io/helm-charts-hardened/ | ||
version: 0.24.1 | ||
marquiz marked this conversation as resolved.
Show resolved
Hide resolved
|
||
digest: sha256:f3b4dc973a59682bf3aa5ca9b53322f57935dd093081e82a37b8082e00becbe9 | ||
generated: "2024-12-20T16:52:40.180416+01:00" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,11 +145,25 @@ spec: | |
{{- with .Values.master.extraArgs }} | ||
{{- toYaml . | nindent 12 }} | ||
{{- end }} | ||
{{- if .Values.spire.enabled }} | ||
- "-enable-spiffe" | ||
{{- end }} | ||
volumeMounts: | ||
{{- if .Values.spire.enabled }} | ||
- name: spire-agent-socket | ||
mountPath: /run/spire/agent-sockets/api.sock | ||
readOnly: true | ||
{{- end }} | ||
- name: nfd-master-conf | ||
mountPath: "/etc/kubernetes/node-feature-discovery" | ||
readOnly: true | ||
volumes: | ||
{{- if .Values.spire.enabled }} | ||
- name: spire-agent-socket | ||
hostPath: | ||
path: /run/spire/agent-sockets/api.sock | ||
type: Socket | ||
Comment on lines
+164
to
+165
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I need come take back my earlier comment about the mounts 🤦♂️ If the spire-agent pod is deleted and re-created (for whatever reason) the nfd pods will permanently lose the spire sock (as the underlying socket changes), if I'm not mistaken. Thus a possible fix would be (and ditto nfd-worker). path: /run/spire/agent-sockets
type: Directory Thoughts? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. |
||
{{- end }} | ||
- name: nfd-master-conf | ||
configMap: | ||
name: {{ include "node-feature-discovery.fullname" . }}-master-conf | ||
|
Uh oh!
There was an error while loading. Please reload this page.