Skip to content

Commit

Permalink
Update Helm release teleport-kube-agent to v16.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Sep 5, 2024
1 parent 69b1a1e commit f6f998d
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 175 deletions.
16 changes: 4 additions & 12 deletions helm/teleport-kube-agent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
apiVersion: v2
name: teleport-kube-agent
version: [[ .Version ]]
appVersion: 16.1.7
appVersion: 16.2.1
description: Teleport provides a secure SSH, Kubernetes, database and application
remote access solution that doesn't get in the way.
icon: https://s.giantswarm.io/app-icons/teleport/1/light.png
type: application
sources:
- https://github.com/gravitational/teleport
icon: https://goteleport.com/static/teleport-symbol-bimi.svg
keywords:
- Teleport
annotations:
application.giantswarm.io/team: bigmac
maintainers:
- name: giantswarm/team-bigmac
email: [email protected]
name: teleport-kube-agent
version: 16.2.1
4 changes: 0 additions & 4 deletions helm/teleport-kube-agent/ci/ci-values.yaml

This file was deleted.

12 changes: 2 additions & 10 deletions helm/teleport-kube-agent/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,18 @@ if serviceAccount is not defined or serviceAccount.name is empty, use .Release.N
{{- if .Values.teleportVersionOverride -}}
{{- .Values.teleportVersionOverride -}}
{{- else -}}
{{- .Chart.AppVersion -}}
{{- .Chart.Version -}}
{{- end -}}
{{- end -}}
{{- define "teleport-kube-agent.baseImage" -}}
{{- if .Values.enterprise -}}
{{- .Values.enterpriseImage -}}
{{- else -}}
{{- .Values.image.repository -}}
{{- .Values.image -}}
{{- end -}}
{{- end -}}
{{- define "teleport-kube-agent.image" -}}
{{ include "teleport-kube-agent.baseImage" . }}:{{ include "teleport-kube-agent.version" . }}
{{- end -}}
{{- define "registry" }}
{{- $registry := .Values.image.registry -}}
{{- if and .Values.global (and .Values.global.image .Values.global.image.registry) -}}
{{- $registry = .Values.global.image.registry -}}
{{- end -}}
{{- printf "%s" $registry -}}
{{- end -}}
2 changes: 1 addition & 1 deletion helm/teleport-kube-agent/templates/delete_hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
fieldPath: metadata.namespace
- name: RELEASE_NAME
value: {{ .Release.Name }}
image: '{{ include "registry" . }}/{{ .Values.image.repository }}:{{ include "teleport-kube-agent.version" . }}'
image: {{ include "teleport-kube-agent.image" . | quote }}
{{- if .Values.imagePullPolicy }}
imagePullPolicy: {{ toYaml .Values.imagePullPolicy }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm/teleport-kube-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ spec:
{{- end }}
containers:
- name: "teleport"
image: '{{ include "registry" . }}/{{ .Values.image.repository }}:{{ include "teleport-kube-agent.version" . }}'
image: {{ include "teleport-kube-agent.image" . | quote }}
{{- if .Values.imagePullPolicy }}
imagePullPolicy: {{ toYaml .Values.imagePullPolicy }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm/teleport-kube-agent/templates/psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
We must remove them before 1.25 to ensure the Helm state doesn't corrupt. As this is a breaking change, this
only applies to v12+ charts. v11 and below will only show a warning from the NOTES.txt.
Users must use PSAs instead (beta in 1.23, GA in 1.25). The "teleport-cluster" chart runs in "baseline" mode */}}
{{- if and (not .Values.global.podSecurityStandards.enforced) .Values.podSecurityPolicy.enabled (semverCompare "<1.25.0" .Capabilities.KubeVersion.Version) -}}
{{- if and .Values.podSecurityPolicy.enabled (semverCompare "<1.23.0-0" .Capabilities.KubeVersion.Version) -}}
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
Expand Down
6 changes: 5 additions & 1 deletion helm/teleport-kube-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ spec:
{{- end }}
containers:
- name: "teleport"
image: '{{ include "registry" . }}/{{ .Values.image.repository }}:{{ include "teleport-kube-agent.version" . }}'
image: {{ include "teleport-kube-agent.image" . | quote }}
{{- if .Values.imagePullPolicy }}
imagePullPolicy: {{ toYaml .Values.imagePullPolicy }}
{{- end }}
Expand All @@ -151,6 +151,10 @@ spec:
- name: TELEPORT_EXT_UPGRADER_VERSION
value: {{ include "teleport-kube-agent.version" . }}
{{- end }}
{{- if .Values.clusterDomain }}
- name: TELEPORT_KUBE_CLUSTER_DOMAIN
value: {{ .Values.clusterDomain | quote }}
{{- end }}
{{- if .Values.tls.existingCASecretName }}
- name: SSL_CERT_FILE
value: /etc/teleport-tls-ca/ca.pem
Expand Down
82 changes: 5 additions & 77 deletions helm/teleport-kube-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"required": [
"global",
"proxyAddr",
"roles",
"joinParams",
Expand Down Expand Up @@ -38,34 +37,9 @@
"initContainers",
"resources",
"tolerations",
"probeTimeoutSeconds",
"proxy",
"cluster"
"probeTimeoutSeconds"
],
"properties": {
"global": {
"$id": "#/properties/global",
"type": "object",
"required": [
"podSecurityStandards"
],
"properties": {
"podSecurityStandards": {
"$id": "#/properties/global/properties/podSecurityStandards",
"type": "object",
"required": [
"enforced"
],
"properties": {
"enforced": {
"$id": "#/properties/global/properties/podSecurityStandards/properties/enforced",
"type": "boolean",
"default": false
}
}
}
}
},
"authToken": {
"$id": "#/properties/authToken",
"type": "string",
Expand Down Expand Up @@ -368,19 +342,8 @@
},
"image": {
"$id": "#/properties/image",
"type": "object",
"properties": {
"registry": {
"$id": "#/properties/image/registry",
"type": "string",
"default": "public.ecr.aws"
},
"repository": {
"$id": "#/properties/image/repository",
"type": "string",
"default": "gravitational/teleport-distroless"
}
}
"type": "string",
"default": "public.ecr.aws/gravitational/teleport-distroless"
},
"enterpriseImage": {
"$id": "#/properties/enterpriseImage",
Expand All @@ -395,7 +358,7 @@
"replicaCount": {
"$id": "#/properties/replicaCount",
"type": "integer",
"default": 2
"default": 1
},
"clusterRoleName": {
"$id": "#/properties/clusterRoleName",
Expand Down Expand Up @@ -437,7 +400,7 @@
"enabled": {
"$id": "#/properties/highAvailability/properties/podDisruptionBudget/properties/enabled",
"type": "boolean",
"default": true
"default": false
},
"minAvailable": {
"$id": "#/properties/highAvailability/properties/podDisruptionBudget/properties/minAvailable",
Expand Down Expand Up @@ -814,41 +777,6 @@
"$id": "#/properties/jamfSecret",
"type": "string",
"default": ""
},
"proxy": {
"$id": "#/properties/proxy",
"type": "object",
"properties": {
"http": {
"type": ["null", "string"]
},
"https": {
"type": ["null", "string"]
},
"noProxy": {
"type": ["null", "string"]
}
}
},
"cluster": {
"$id": "#/properties/cluster",
"type": "object",
"properties": {
"proxy": {
"type": "object",
"properties": {
"http": {
"type": ["null", "string"]
},
"https": {
"type": ["null", "string"]
},
"noProxy": {
"type": ["null", "string"]
}
}
}
}
}
}
}
Loading

0 comments on commit f6f998d

Please sign in to comment.