Skip to content

Commit

Permalink
Merge pull request #140 from truefoundry/fix-tfy-agent-image-pull-bac…
Browse files Browse the repository at this point in the history
…koff

add image pull cred to tfy-agent
  • Loading branch information
innoavator authored Nov 21, 2023
2 parents 30e4fd7 + 700772c commit 9b8c7c3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions charts/tfy-agent/templates/image-pull-creds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
data:
.dockerconfigjson: e2F1dGhzOntodHRwczovL2luZGV4LmRvY2tlci5pby92MS86e3VzZXJuYW1lOnRydWVmb3VuZHJ5LHBhc3N3b3JkOmRja3JfcGF0X3ZLMWJrMmU3NlFOc3dYeDZPUFNrVFhfYjJMVSxhdXRoOmRISjFaV1p2ZFc1a2NuazZaR05yY2w5d1lYUmZka3N4WW1zeVpUYzJVVTV6ZDFoNE5rOVFVMnRVV0Y5aU1reFZDZz09fX19Cg==
kind: Secret
metadata:
name: {{ .Values.imagePullSecretName }}
type: kubernetes.io/dockerconfigjson
2 changes: 2 additions & 0 deletions charts/tfy-agent/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
imagePullSecrets:
- name: {{ .Values.imagePullSecretName }}
{{- end }}
6 changes: 5 additions & 1 deletion charts/tfy-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ config:
##
imagePullSecrets: []

## @param imagePullSecretName to pull images
##
imagePullSecretName: ""

## @param nameOverride String to override partial name passed in helm install command
##
nameOverride: ""
Expand Down Expand Up @@ -160,7 +164,7 @@ tfyAgent:
##
pullPolicy: IfNotPresent
## @param tfyAgent.image.tag Overrides the image tag whose default is the chart appVersion.
tag: "be47383b811e2137a3638f69bfcba487f36127d7"
tag: "f65313b21cf61d1f602a0f80ee2a678f809045f0"

## Define resources requests and limits for single Pods.
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
Expand Down

0 comments on commit 9b8c7c3

Please sign in to comment.