Skip to content
Open
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
2 changes: 1 addition & 1 deletion charts/pdc-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: pdc-agent
description: PDC agent is an agent for connecting to Grafana Private Data source Connect
type: application
appVersion: "0.0.45"
version: 0.0.1
version: 0.0.2
home: https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/
sources:
- https://github.com/grafana/pdc-agent
1 change: 1 addition & 0 deletions charts/pdc-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ PDC agent is an agent for connecting to Grafana Private Data source Connect
| securityContext.allowPrivilegeEscalation | bool | `false` | |
| securityContext.capabilities.drop[0] | string | `"ALL"` | |
| securityContext.privileged | bool | `false` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsNonRoot | bool | `true` | |
| tokenSecretName | string | `""` | secretName Expects a secret with key `token` which contains the Access Policy token you generated |
| tolerations | list | `[]` | not required, but left in as a choice |
Expand Down
11 changes: 11 additions & 0 deletions charts/pdc-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ spec:
{{- range .Values.extraArgs }}
- {{ . }}
{{- end }}
{{- if .Values.securityContext.readOnlyRootFilesystem }}
volumeMounts:
- mountPath: /home/pdc/
name: ssh-cache
{{- end }}
{{- if .Values.securityContext.readOnlyRootFilesystem }}
volumes:
- name: ssh-cache
emptyDir:
sizeLimit: 50Mi
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/pdc-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ securityContext:
runAsNonRoot: true
privileged: false
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false

resources:
requests:
Expand Down