Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prod release December 30th 24 #21

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ description: A helm chart for Kubernetes Zesty Disk. A dynamic block storage aut
# The type of this chart.
type: application
# The version of this chart (follows Semantic versioning).
version: 1.3.0
version: 1.4.0
# The application version.
appVersion: 1.3.0
appVersion: 1.4.0
77 changes: 39 additions & 38 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@
{{- end -}}

{{- define "scheduler.tag" -}}
{{- if .Values.scheduler.tag -}}
{{- .Values.scheduler.tag -}}
{{- else -}}
{{- $gitVersion := (semver .Capabilities.KubeVersion.GitVersion) -}}
{{- printf "v%d.%d.%d-eks-%d-%d-latest" $gitVersion.Major $gitVersion.Minor $gitVersion.Patch $gitVersion.Major $gitVersion.Minor -}}
{{- end -}}
{{- end -}}

{{/* ADMISSION */}}

Expand Down
2 changes: 1 addition & 1 deletion templates/extender/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "extender.name" . }}
namespace: kube-system
namespace: {{ .Release.Namespace }}
data:
scheduler-extender-config.yaml: |
apiVersion: kubescheduler.config.k8s.io/v1
Expand Down
4 changes: 2 additions & 2 deletions templates/extender/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
component: scheduler
tier: control-plane
name: {{ include "extender.name" . }}
namespace: kube-system
namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels:
Expand All @@ -29,7 +29,7 @@ spec:
- /usr/local/bin/kube-scheduler
- --config=/etc/kubernetes/scheduler-extender/scheduler-extender-config.yaml
- --leader-elect-resource-name={{ include "extender.name" . }}
- --leader-elect-resource-namespace=kube-system
- --leader-elect-resource-namespace={{ .Release.Namespace }}
- --v={{ default 1 .Values.scheduler.logLevel }}
livenessProbe:
httpGet:
Expand Down
8 changes: 4 additions & 4 deletions templates/extender/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: {{ include "extender.name" . }}
namespace: kube-system
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: system:kube-scheduler
Expand All @@ -18,7 +18,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: {{ include "extender.name" . }}
namespace: kube-system
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: system:volume-scheduler
Expand All @@ -32,7 +32,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: {{ include "extender.name" . }}
namespace: kube-system
namespace: {{ .Release.Namespace }}
roleRef:
kind: Role
name: extension-apiserver-authentication-reader
Expand All @@ -45,7 +45,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: {{ include "extender.name" . }}
namespace: kube-system
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: {{ include "extender.name" . }}
Expand Down
2 changes: 1 addition & 1 deletion templates/extender/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "extender.name" . }}
namespace: kube-system
namespace: {{ .Release.Namespace }}
12 changes: 6 additions & 6 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ registry: "672188301118.dkr.ecr.eu-west-1.amazonaws.com"
storageOperator:
image:
name: zd/k8s/storage-operator
tag: 1.2.14
tag: 1.2.23
resources:
requests:
cpu: 500m
Expand All @@ -35,7 +35,7 @@ agentManager:
agent:
image:
name: zd/k8s/agent
tag: 1.0.56
tag: 1.0.58
resources:
requests:
cpu: 100m
Expand All @@ -46,7 +46,7 @@ agentManager:
manager:
image:
name: zd/k8s/manager
tag: 1.3.37
tag: 1.3.38
resources:
requests:
cpu: 100m
Expand All @@ -67,7 +67,7 @@ admission:
port: 8443
image:
name: zd/k8s/mutator
tag: 1.0.6
tag: 1.0.8
# specifies a failure policy (Ignore or Fail) that defines how
# unrecognized errors from the admission endpoint are handled.
failurePolicy: Ignore
Expand All @@ -81,7 +81,7 @@ scheduler:
extender:
image:
name: zd/k8s/extender
tag: 1.2.14
tag: 1.2.23
port: 8888
# The node selector.
nodeSelector: {}
Expand All @@ -99,4 +99,4 @@ annotations: {}
additionalLabels: {}
# The image pull policy determines when to pull images from the registry.
# Possible values are Always, IfNotPresent, and Never.
imagePullPolicy: ""
imagePullPolicy: ""