Configurable auth cookies age (#38)

* configurable auth cookies age

* version bump up
This commit is contained in:
Valeriano Manassero 2021-12-09 08:14:09 +01:00 committed by GitHub
parent b494a8c0cf
commit 1b5b9407f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: clearml name: clearml
description: MLOps platform description: MLOps platform
type: application type: application
version: "3.1.0" version: "3.2.0"
appVersion: "1.1.1" appVersion: "1.1.1"
home: https://clear.ml home: https://clear.ml
icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg icon: https://raw.githubusercontent.com/allegroai/clearml/master/docs/clearml-logo.svg

View File

@ -1,6 +1,6 @@
# ClearML Ecosystem for Kubernetes # ClearML Ecosystem for Kubernetes
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.1](https://img.shields.io/badge/AppVersion-1.1.1-informational?style=flat-square) ![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.1](https://img.shields.io/badge/AppVersion-1.1.1-informational?style=flat-square)
MLOps platform MLOps platform
@ -191,6 +191,7 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
| agentservices.tolerations | list | `[]` | | | agentservices.tolerations | list | `[]` | |
| apiserver.additionalConfigs | object | `{}` | | | apiserver.additionalConfigs | object | `{}` | |
| apiserver.affinity | object | `{}` | | | apiserver.affinity | object | `{}` | |
| apiserver.authCoockiesMaxAge | int | `864000` | Amount of seconds the authorization cookie will last in user browser |
| apiserver.configDir | string | `"/opt/clearml/config"` | | | apiserver.configDir | string | `"/opt/clearml/config"` | |
| apiserver.extraEnvs | list | `[]` | | | apiserver.extraEnvs | list | `[]` | |
| apiserver.image.pullPolicy | string | `"IfNotPresent"` | | | apiserver.image.pullPolicy | string | `"IfNotPresent"` | |

View File

@ -70,6 +70,8 @@ spec:
value: "{{ .Values.apiserver.prepopulateZipFiles }}" value: "{{ .Values.apiserver.prepopulateZipFiles }}"
- name: CLEARML_SERVER_DEPLOYMENT_TYPE - name: CLEARML_SERVER_DEPLOYMENT_TYPE
value: "helm-cloud" value: "helm-cloud"
- name: CLEARML__APISERVER__AUTH__COOKIES__MAX_AGE
value: "{{ .Values.apiserver.authCoockiesMaxAge }}"
- name: CLEARML_CONFIG_DIR - name: CLEARML_CONFIG_DIR
value: /opt/clearml/config value: /opt/clearml/config
- name: CLEARML__APISERVER__DEFAULT_COMPANY - name: CLEARML__APISERVER__DEFAULT_COMPANY

View File

@ -37,6 +37,9 @@ apiserver:
prepopulateArtifactsPath: "/mnt/fileserver" prepopulateArtifactsPath: "/mnt/fileserver"
configDir: /opt/clearml/config configDir: /opt/clearml/config
# -- Amount of seconds the authorization cookie will last in user browser
authCoockiesMaxAge: 864000
service: service:
# -- This will set to service's spec.type field # -- This will set to service's spec.type field
type: NodePort type: NodePort