Pullsecrets pod template (#80)

* Added: pullsecrets management for pod template

* Changed: version bump
This commit is contained in:
Valeriano Manassero 2022-06-22 15:52:14 +02:00 committed by GitHub
parent 562815e97a
commit 1d95f0c27f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: clearml-agent name: clearml-agent
description: MLOps platform description: MLOps platform
type: application type: application
version: "1.0.0" version: "1.0.1"
appVersion: "1.21" appVersion: "1.21"
kubeVersion: ">= 1.19.0-0 < 1.25.0-0" kubeVersion: ">= 1.19.0-0 < 1.25.0-0"
home: https://clear.ml home: https://clear.ml

View File

@ -1,6 +1,6 @@
# clearml-agent # clearml-agent
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.21](https://img.shields.io/badge/AppVersion-1.21-informational?style=flat-square) ![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.21](https://img.shields.io/badge/AppVersion-1.21-informational?style=flat-square)
MLOps platform MLOps platform

View File

@ -8,6 +8,14 @@ data:
metadata: metadata:
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
spec: spec:
{{- if .Values.imageCredentials.enabled }}
imagePullSecrets:
{{- if .Values.imageCredentials.existingSecret }}
- name: .Values.imageCredentials.existingSecret
{{- else }}
- name: clearml-agent-registry-key
{{- end }}
{{- end }}
serviceAccountName: {{ .Values.agentk8sglue.serviceAccountName }} serviceAccountName: {{ .Values.agentk8sglue.serviceAccountName }}
volumes: volumes:
{{- range .Values.agentk8sglue.podTemplate.volumes }} {{- range .Values.agentk8sglue.podTemplate.volumes }}