File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed
Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: pdc-agent
33description : PDC agent is an agent for connecting to Grafana Private Data source Connect
44type : application
55appVersion : " 0.0.45"
6- version : 0.0.1
6+ version : 0.0.2
77home : https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/
88sources :
99 - https://github.com/grafana/pdc-agent
Original file line number Diff line number Diff line change 11# pdc-agent
22
3- ![ Version: 0.0.1 ] ( https://img.shields.io/badge/Version-0.0.1 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.0.45] ( https://img.shields.io/badge/AppVersion-0.0.45-informational?style=flat-square )
3+ ![ Version: 0.0.2 ] ( https://img.shields.io/badge/Version-0.0.2 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.0.45] ( https://img.shields.io/badge/AppVersion-0.0.45-informational?style=flat-square )
44
55PDC agent is an agent for connecting to Grafana Private Data source Connect
66
@@ -38,6 +38,7 @@ PDC agent is an agent for connecting to Grafana Private Data source Connect
3838| securityContext.allowPrivilegeEscalation | bool | ` false ` | |
3939| securityContext.capabilities.drop[ 0] | string | ` "ALL" ` | |
4040| securityContext.privileged | bool | ` false ` | |
41+ | securityContext.readOnlyRootFilesystem | bool | ` false ` | Enable running in a read-only root filesystem. |
4142| securityContext.runAsNonRoot | bool | ` true ` | |
4243| tokenSecretName | string | ` "" ` | secretName Expects a secret with key ` token ` which contains the Access Policy token you generated |
4344| tolerations | list | ` [] ` | not required, but left in as a choice |
Original file line number Diff line number Diff line change 7575 {{- range .Values.extraArgs }}
7676 - {{ . }}
7777 {{- end }}
78+ {{- if .Values.securityContext.readOnlyRootFilesystem }}
79+ volumeMounts :
80+ - mountPath : /home/pdc/
81+ name : ssh-cache
82+ {{- end }}
83+ {{- if .Values.securityContext.readOnlyRootFilesystem }}
84+ volumes :
85+ - name : ssh-cache
86+ emptyDir :
87+ sizeLimit : 50Mi
88+ {{- end }}
7889 {{- with .Values.nodeSelector }}
7990 nodeSelector :
8091 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ securityContext:
3535 runAsNonRoot : true
3636 privileged : false
3737 allowPrivilegeEscalation : false
38+ # -- Enable running in a read-only root filesystem.
39+ readOnlyRootFilesystem : false
3840
3941resources :
4042 requests :
You can’t perform that action at this time.
0 commit comments