mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-04-17 01:31:13 +00:00
Make PDR compatible with k8s 1.25 (#108)
* Changed: pdr version * Changed: dependency update * Changed: removed eol k8s * Changed: kind versions update * Removed: incompatible version with GH actions * Changed: updated action
This commit is contained in:
parent
8374ece563
commit
4704415662
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: Lint and Test Charts
|
name: Lint and Test Charts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request:
|
||||||
types: [opened, synchronize, edited, reopened]
|
types: [opened, synchronize, edited, reopened]
|
||||||
paths:
|
paths:
|
||||||
- 'charts/**'
|
- 'charts/**'
|
||||||
@ -22,16 +22,16 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
k8s:
|
k8s:
|
||||||
- v1.22.7
|
- v1.22.13
|
||||||
- v1.23.6
|
- v1.23.10
|
||||||
- v1.24.0
|
- v1.24.4
|
||||||
|
- v1.25.0
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
- name: Create kind ${{ matrix.k8s }} cluster
|
- name: Create kind ${{ matrix.k8s }} cluster
|
||||||
uses: helm/kind-action@v1.2.0
|
uses: helm/kind-action@v1.3.0
|
||||||
with:
|
with:
|
||||||
version: v0.13.0
|
|
||||||
node_image: kindest/node:${{ matrix.k8s }}
|
node_image: kindest/node:${{ matrix.k8s }}
|
||||||
- name: Set up chart-testing
|
- name: Set up chart-testing
|
||||||
uses: helm/chart-testing-action@v2.2.1
|
uses: helm/chart-testing-action@v2.2.1
|
||||||
|
|||||||
@ -2,8 +2,9 @@ apiVersion: v2
|
|||||||
name: clearml
|
name: clearml
|
||||||
description: MLOps platform
|
description: MLOps platform
|
||||||
type: application
|
type: application
|
||||||
version: "4.2.0"
|
version: "4.2.1"
|
||||||
appVersion: "1.6.0"
|
appVersion: "1.6.0"
|
||||||
|
kubeVersion: ">= 1.21.0-0 < 1.26.0-0"
|
||||||
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
|
||||||
sources:
|
sources:
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# ClearML Ecosystem for Kubernetes
|
# ClearML Ecosystem for Kubernetes
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
MLOps platform
|
MLOps platform
|
||||||
|
|
||||||
@ -119,6 +119,8 @@ For detailed instructions, see the [Optional Configuration](https://github.com/a
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
Kubernetes: `>= 1.21.0-0 < 1.26.0-0`
|
||||||
|
|
||||||
| Repository | Name | Version |
|
| Repository | Name | Version |
|
||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
| file://../../dependency_charts/elasticsearch | elasticsearch | 7.16.2 |
|
| file://../../dependency_charts/elasticsearch | elasticsearch | 7.16.2 |
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
{{- if .Values.maxUnavailable }}
|
{{- if .Values.maxUnavailable }}
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: "{{ template "elasticsearch.uname" . }}-pdb"
|
name: "{{ template "elasticsearch.uname" . }}-pdb"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{{- if .Values.podSecurityPolicy.create -}}
|
{{- if .Values.podSecurityPolicy.create -}}
|
||||||
{{- $fullName := include "elasticsearch.uname" . -}}
|
{{- $fullName := include "elasticsearch.uname" . -}}
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodSecurityPolicy
|
kind: PodSecurityPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ default $fullName .Values.podSecurityPolicy.name | quote }}
|
name: {{ default $fullName .Values.podSecurityPolicy.name | quote }}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{{- if and (include "mongodb.arbiter.enabled" .) .Values.arbiter.pdb.create }}
|
{{- if and (include "mongodb.arbiter.enabled" .) .Values.arbiter.pdb.create }}
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "mongodb.fullname" . }}-arbiter
|
name: {{ include "mongodb.fullname" . }}-arbiter
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{{- if and (eq .Values.architecture "replicaset") .Values.pdb.create }}
|
{{- if and (eq .Values.architecture "replicaset") .Values.pdb.create }}
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "mongodb.fullname" . }}
|
name: {{ include "mongodb.fullname" . }}
|
||||||
|
|||||||
@ -58,7 +58,7 @@ Return the appropriate apiVersion for PodSecurityPolicy.
|
|||||||
*/}}
|
*/}}
|
||||||
{{- define "podSecurityPolicy.apiVersion" -}}
|
{{- define "podSecurityPolicy.apiVersion" -}}
|
||||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||||
{{- print "policy/v1beta1" -}}
|
{{- print "policy/v1" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- print "extensions/v1beta1" -}}
|
{{- print "extensions/v1beta1" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{{- if .Values.podDisruptionBudget.enabled }}
|
{{- if .Values.podDisruptionBudget.enabled }}
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "redis.fullname" . }}
|
name: {{ template "redis.fullname" . }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user