Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
13 changes: 13 additions & 0 deletions hack/generate-agent-helm-chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ def update_copied_chart_files(version: str, image_repository: str, image_tag: st
image["tag"] = image_tag
values["image"] = image

values["podSecurityContext"] = {
"runAsNonRoot": True,
"seccompProfile": {"type": "RuntimeDefault"},
}
values["securityContext"] = {
"allowPrivilegeEscalation": False,
"capabilities": {"drop": ["ALL"]},
"privileged": False,
"readOnlyRootFilesystem": True,
"runAsNonRoot": True,
"seccompProfile": {"type": "RuntimeDefault"},
}

with values_path.open("w", encoding="utf-8") as file:
yaml.safe_dump(values, file, sort_keys=False)

Expand Down

This file was deleted.

331 changes: 0 additions & 331 deletions helm-charts/redhat-argocd-agent/0.7.0/src/values.schema.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: redhat-argocd-agent
description: RedHat Argo CD Agent for connecting managed clusters to a Principal
type: application
version: 0.7.0
appVersion: 0.7.0
version: main
appVersion: main
home: https://github.com/argoproj-labs/argocd-agent
sources:
- https://github.com/argoproj-labs/argocd-agent
Expand Down
Loading
Loading