Update teleport to 14.1.1
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
clusterName: helm-lint.example.com
|
||||
extraContainers:
|
||||
- name: nscenter
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- sleep infinity & wait
|
||||
image: praqma/network-multitool
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsNonRoot: false
|
||||
@@ -1,13 +1,13 @@
|
||||
apiVersion: v2
|
||||
appVersion: 14.0.3
|
||||
appVersion: 14.1.1
|
||||
dependencies:
|
||||
- condition: installCRDs,operator.enabled
|
||||
name: teleport-operator
|
||||
repository: ""
|
||||
version: 14.0.3
|
||||
version: 14.1.1
|
||||
description: Teleport is an access platform for your infrastructure
|
||||
icon: https://goteleport.com/images/logos/logo-teleport-square.svg
|
||||
keywords:
|
||||
- Teleport
|
||||
name: teleport-cluster
|
||||
version: 14.0.3
|
||||
version: 14.1.1
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: 14.0.3
|
||||
appVersion: 14.1.1
|
||||
description: Teleport Operator provides management of select Teleport resources.
|
||||
icon: https://goteleport.com/images/logos/logo-teleport-square.svg
|
||||
keywords:
|
||||
- Teleport
|
||||
name: teleport-operator
|
||||
version: 14.0.3
|
||||
version: 14.1.1
|
||||
|
||||
@@ -993,6 +993,10 @@ spec:
|
||||
description: CreateDatabaseUser enabled automatic database user
|
||||
creation.
|
||||
type: boolean
|
||||
create_db_user_mode:
|
||||
description: CreateDatabaseUserMode allows users to be automatically
|
||||
created on a database when not set to off.
|
||||
x-kubernetes-int-or-string: true
|
||||
create_desktop_user:
|
||||
description: CreateDesktopUser allows users to be automatically
|
||||
created on a Windows desktop
|
||||
@@ -2186,6 +2190,10 @@ spec:
|
||||
description: CreateDatabaseUser enabled automatic database user
|
||||
creation.
|
||||
type: boolean
|
||||
create_db_user_mode:
|
||||
description: CreateDatabaseUserMode allows users to be automatically
|
||||
created on a database when not set to off.
|
||||
x-kubernetes-int-or-string: true
|
||||
create_desktop_user:
|
||||
description: CreateDesktopUser allows users to be automatically
|
||||
created on a Windows desktop
|
||||
|
||||
@@ -270,6 +270,9 @@ spec:
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
{{- if $auth.extraContainers }}
|
||||
{{- toYaml $auth.extraContainers | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if $projectedServiceAccountToken }}
|
||||
automountServiceAccountToken: false
|
||||
{{- end }}
|
||||
|
||||
@@ -255,6 +255,9 @@ spec:
|
||||
{{- if $proxy.extraVolumeMounts }}
|
||||
{{- toYaml $proxy.extraVolumeMounts | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if $proxy.extraContainers }}
|
||||
{{- toYaml $proxy.extraContainers | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if $projectedServiceAccountToken }}
|
||||
automountServiceAccountToken: false
|
||||
{{- end }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
should add an operator side-car when operator is enabled:
|
||||
1: |
|
||||
image: public.ecr.aws/gravitational/teleport-operator:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-operator:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
@@ -41,7 +41,7 @@ should add an operator side-car when operator is enabled:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
- --apply-on-startup=/etc/teleport/apply-on-startup.yaml
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -174,7 +174,7 @@ should set nodeSelector when set in values:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
- --apply-on-startup=/etc/teleport/apply-on-startup.yaml
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -271,7 +271,7 @@ should set resources when set in values:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
- --apply-on-startup=/etc/teleport/apply-on-startup.yaml
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -357,7 +357,7 @@ should set securityContext when set in values:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
- --apply-on-startup=/etc/teleport/apply-on-startup.yaml
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
|
||||
@@ -5,7 +5,7 @@ should provision initContainer correctly when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v13.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
name: wait-auth-update
|
||||
- args:
|
||||
- echo test
|
||||
@@ -62,7 +62,7 @@ should set nodeSelector when set in values:
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -123,7 +123,7 @@ should set nodeSelector when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v13.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
name: wait-auth-update
|
||||
nodeSelector:
|
||||
environment: security
|
||||
@@ -174,7 +174,7 @@ should set resources when set in values:
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -242,7 +242,7 @@ should set resources when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v13.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
name: wait-auth-update
|
||||
serviceAccountName: RELEASE-NAME-proxy
|
||||
terminationGracePeriodSeconds: 60
|
||||
@@ -275,7 +275,7 @@ should set securityContext for initContainers when set in values:
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -343,7 +343,7 @@ should set securityContext for initContainers when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v13.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
name: wait-auth-update
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
@@ -383,7 +383,7 @@ should set securityContext when set in values:
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -451,7 +451,7 @@ should set securityContext when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v13.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.0.3
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:14.1.1
|
||||
name: wait-auth-update
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
@@ -304,6 +304,7 @@ tests:
|
||||
name: my-mount
|
||||
secret:
|
||||
secretName: mySecret
|
||||
|
||||
- it: should set imagePullPolicy when set in values
|
||||
template: auth/deployment.yaml
|
||||
set:
|
||||
@@ -314,6 +315,36 @@ tests:
|
||||
path: spec.template.spec.containers[0].imagePullPolicy
|
||||
value: Always
|
||||
|
||||
- it: should have only one container when no `extraContainers` is set in values
|
||||
template: auth/deployment.yaml
|
||||
set:
|
||||
extraContainers: []
|
||||
clusterName: helm-lint.example.com
|
||||
asserts:
|
||||
- isNotNull:
|
||||
path: spec.template.spec.containers[0]
|
||||
- isNull:
|
||||
path: spec.template.spec.containers[1]
|
||||
|
||||
- it: should add one more container when `extraContainers` is set in values
|
||||
template: auth/deployment.yaml
|
||||
values:
|
||||
- ../.lint/extra-containers.yaml
|
||||
asserts:
|
||||
- equal:
|
||||
path: spec.template.spec.containers[1]
|
||||
value:
|
||||
name: nscenter
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- sleep infinity & wait
|
||||
image: praqma/network-multitool
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsNonRoot: false
|
||||
|
||||
- it: should set environment when extraEnv set in values
|
||||
template: auth/deployment.yaml
|
||||
values:
|
||||
|
||||
@@ -332,6 +332,36 @@ tests:
|
||||
path: spec.template.spec.containers[0].imagePullPolicy
|
||||
value: Always
|
||||
|
||||
- it: should have only one container when no `extraContainers` is set in values
|
||||
template: proxy/deployment.yaml
|
||||
set:
|
||||
extraContainers: []
|
||||
clusterName: helm-lint.example.com
|
||||
asserts:
|
||||
- isNotNull:
|
||||
path: spec.template.spec.containers[0]
|
||||
- isNull:
|
||||
path: spec.template.spec.containers[1]
|
||||
|
||||
- it: should add one more container when `extraContainers` is set in values
|
||||
template: proxy/deployment.yaml
|
||||
values:
|
||||
- ../.lint/extra-containers.yaml
|
||||
asserts:
|
||||
- equal:
|
||||
path: spec.template.spec.containers[1]
|
||||
value:
|
||||
name: nscenter
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- sleep infinity & wait
|
||||
image: praqma/network-multitool
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsNonRoot: false
|
||||
|
||||
- it: should set environment when extraEnv set in values
|
||||
template: proxy/deployment.yaml
|
||||
values:
|
||||
|
||||
@@ -617,6 +617,19 @@ extraArgs: []
|
||||
# Extra environment to be configured on the Teleport pod
|
||||
extraEnv: []
|
||||
|
||||
# Extra containers to be added to the Teleport pod
|
||||
extraContainers: []
|
||||
# - name: nscenter
|
||||
# command:
|
||||
# - /bin/bash
|
||||
# - -c
|
||||
# - sleep infinity & wait
|
||||
# image: praqma/network-multitool
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# securityContext:
|
||||
# privileged: true
|
||||
# runAsNonRoot: false
|
||||
|
||||
# Extra volumes to mount into the Teleport pods
|
||||
# https://kubernetes.io/docs/concepts/storage/volumes/
|
||||
extraVolumes: []
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"affinity",
|
||||
"nodeSelector",
|
||||
"annotations",
|
||||
"extraContainers",
|
||||
"extraVolumes",
|
||||
"extraVolumeMounts",
|
||||
"imagePullPolicy",
|
||||
@@ -888,6 +889,11 @@
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"extraContainers": {
|
||||
"$id": "#/properties/extraContainers",
|
||||
"type": "array",
|
||||
"default": []
|
||||
},
|
||||
"extraVolumes": {
|
||||
"$id": "#/properties/extraVolumes",
|
||||
"type": "array",
|
||||
|
||||
@@ -609,6 +609,19 @@ extraArgs: []
|
||||
# Extra environment to be configured on the Teleport pod
|
||||
extraEnv: []
|
||||
|
||||
# Extra containers to be added to the Teleport pod
|
||||
extraContainers: []
|
||||
# - name: nscenter
|
||||
# command:
|
||||
# - /bin/bash
|
||||
# - -c
|
||||
# - sleep infinity & wait
|
||||
# image: praqma/network-multitool
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# securityContext:
|
||||
# privileged: true
|
||||
# runAsNonRoot: false
|
||||
|
||||
# Extra volumes to mount into the Teleport pods
|
||||
# https://kubernetes.io/docs/concepts/storage/volumes/
|
||||
extraVolumes: []
|
||||
|
||||
Reference in New Issue
Block a user