Skip to content
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

Fix issue with SELinux and akri #126

Merged
merged 4 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/akri/akri-0.12.20.tgz
Binary file not shown.
3 changes: 3 additions & 0 deletions charts/akri/0.12.20/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
{{- if .Values.agent.securityContext }}
securityContext:
{{- toYaml .Values.agent.securityContext | nindent 10 }}
{{- else }}
securityContext:
privileged: true
{{- end}}
env:
{{- if .Values.agent.allowDebugEcho }}
Expand Down
4 changes: 2 additions & 2 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ entries:
catalog.cattle.io/display-name: Akri
apiVersion: v2
appVersion: 0.12.20
created: "2024-04-24T10:18:46.368590141+02:00"
created: "2024-04-25T14:56:04.966147302+02:00"
description: A Helm chart for Akri
digest: f1f6760018f4171ce14432486105b84cd6389d878cb98ebd36283a7abc2493b7
digest: 636b3a21790490cde3dcefbd9a93d4dd27700293647759e617cff3a564ac8197
icon: https://raw.githubusercontent.com/project-akri/akri-docs/main/art/icon/akri-icon-light.svg
name: akri
type: application
Expand Down
14 changes: 12 additions & 2 deletions packages/akri/generated-changes/patch/templates/agent.yaml.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@
{{- if .Values.useDevelopmentContainers }}
{{- if .Values.useLatestContainers }}
image: {{ printf "%s:%s" $repository (default "latest-dev" .Values.agent.image.tag) | quote }}
@@ -68,7 +63,7 @@
@@ -58,6 +53,9 @@
{{- if .Values.agent.securityContext }}
securityContext:
{{- toYaml .Values.agent.securityContext | nindent 10 }}
+ {{- else }}
+ securityContext:
+ privileged: true
{{- end}}
env:
{{- if .Values.agent.allowDebugEcho }}
@@ -68,7 +66,7 @@
value: {{ .Values.debugEcho.configuration.shared | quote }}
{{- end }}
- name: HOST_CRICTL_PATH
Expand All @@ -30,7 +40,7 @@
- name: HOST_RUNTIME_ENDPOINT
value: unix:///host/run/containerd/containerd.sock
- name: HOST_IMAGE_ENDPOINT
@@ -128,4 +123,4 @@
@@ -128,4 +126,4 @@
hostPath:
path: "{{ .Values.agent.host.udev }}"
{{- end }}
Expand Down
Loading