Bump teleport to version 15.3.3
This commit is contained in:
@@ -3,6 +3,14 @@ adds operator permissions to ClusterRole:
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/component: auth
|
||||
app.kubernetes.io/instance: RELEASE-NAME
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: teleport-cluster
|
||||
app.kubernetes.io/version: 15.3.3
|
||||
helm.sh/chart: teleport-cluster-15.3.3
|
||||
teleport.dev/majorVersion: "15"
|
||||
name: RELEASE-NAME
|
||||
rules:
|
||||
- apiGroups:
|
||||
|
||||
@@ -13,6 +13,124 @@ adds a proxy token by default:
|
||||
kubernetes:
|
||||
allow:
|
||||
- service_account: "NAMESPACE:RELEASE-NAME-proxy"
|
||||
configures access monitoring when its values are set:
|
||||
1: |
|
||||
|-
|
||||
auth_service:
|
||||
access_monitoring:
|
||||
enabled: true
|
||||
report_results: s3://example-athena-long-term/report_results
|
||||
role_arn: arn:aws:iam::123456789012:role/example_AccessMonitoringRole
|
||||
workgroup: example_access_monitoring_workgroup
|
||||
authentication:
|
||||
local_auth: true
|
||||
second_factor: "on"
|
||||
type: local
|
||||
webauthn:
|
||||
rp_id: test-aws-cluster
|
||||
cluster_name: test-aws-cluster
|
||||
enabled: true
|
||||
proxy_listener_mode: separate
|
||||
kubernetes_service:
|
||||
enabled: true
|
||||
kube_cluster_name: test-aws-cluster
|
||||
listen_addr: 0.0.0.0:3026
|
||||
public_addr: RELEASE-NAME-auth.NAMESPACE.svc.cluster.local:3026
|
||||
proxy_service:
|
||||
enabled: false
|
||||
ssh_service:
|
||||
enabled: false
|
||||
teleport:
|
||||
auth_server: 127.0.0.1:3025
|
||||
log:
|
||||
format:
|
||||
extra_fields:
|
||||
- timestamp
|
||||
- level
|
||||
- component
|
||||
- caller
|
||||
output: text
|
||||
output: stderr
|
||||
severity: INFO
|
||||
storage:
|
||||
audit_events_uri:
|
||||
- athena://db.table?topicArn=arn:aws:sns:region:account_id:topic_name
|
||||
audit_sessions_uri: s3://test-s3-session-storage-bucket
|
||||
auto_scaling: false
|
||||
continuous_backups: false
|
||||
region: us-west-2
|
||||
table_name: test-dynamodb-backend-table
|
||||
type: dynamodb
|
||||
version: v3
|
||||
keeps the second factor type even when it's "off":
|
||||
1: |
|
||||
|-
|
||||
auth_service:
|
||||
authentication:
|
||||
local_auth: true
|
||||
second_factor: "off"
|
||||
type: local
|
||||
cluster_name: helm-lint
|
||||
enabled: true
|
||||
proxy_listener_mode: separate
|
||||
kubernetes_service:
|
||||
enabled: true
|
||||
kube_cluster_name: helm-lint
|
||||
listen_addr: 0.0.0.0:3026
|
||||
public_addr: RELEASE-NAME-auth.NAMESPACE.svc.cluster.local:3026
|
||||
proxy_service:
|
||||
enabled: false
|
||||
ssh_service:
|
||||
enabled: false
|
||||
teleport:
|
||||
auth_server: 127.0.0.1:3025
|
||||
log:
|
||||
format:
|
||||
extra_fields:
|
||||
- timestamp
|
||||
- level
|
||||
- component
|
||||
- caller
|
||||
output: text
|
||||
output: stderr
|
||||
severity: INFO
|
||||
version: v3
|
||||
keeps the session_recording type even when it's "off":
|
||||
1: |
|
||||
|-
|
||||
auth_service:
|
||||
authentication:
|
||||
local_auth: true
|
||||
second_factor: "on"
|
||||
type: local
|
||||
webauthn:
|
||||
rp_id: helm-lint
|
||||
cluster_name: helm-lint
|
||||
enabled: true
|
||||
proxy_listener_mode: separate
|
||||
session_recording: "off"
|
||||
kubernetes_service:
|
||||
enabled: true
|
||||
kube_cluster_name: helm-lint
|
||||
listen_addr: 0.0.0.0:3026
|
||||
public_addr: RELEASE-NAME-auth.NAMESPACE.svc.cluster.local:3026
|
||||
proxy_service:
|
||||
enabled: false
|
||||
ssh_service:
|
||||
enabled: false
|
||||
teleport:
|
||||
auth_server: 127.0.0.1:3025
|
||||
log:
|
||||
format:
|
||||
extra_fields:
|
||||
- timestamp
|
||||
- level
|
||||
- component
|
||||
- caller
|
||||
output: text
|
||||
output: stderr
|
||||
severity: INFO
|
||||
version: v3
|
||||
matches snapshot for acme-off.yaml:
|
||||
1: |
|
||||
|-
|
||||
@@ -1673,3 +1791,139 @@ matches snapshot for volumes.yaml:
|
||||
output: stderr
|
||||
severity: INFO
|
||||
version: v3
|
||||
uses athena as primary backend when configured:
|
||||
1: |
|
||||
|-
|
||||
auth_service:
|
||||
authentication:
|
||||
local_auth: true
|
||||
second_factor: "on"
|
||||
type: local
|
||||
webauthn:
|
||||
rp_id: teleport.example.com
|
||||
cluster_name: teleport.example.com
|
||||
enabled: true
|
||||
proxy_listener_mode: separate
|
||||
kubernetes_service:
|
||||
enabled: true
|
||||
kube_cluster_name: teleport.example.com
|
||||
listen_addr: 0.0.0.0:3026
|
||||
public_addr: RELEASE-NAME-auth.NAMESPACE.svc.cluster.local:3026
|
||||
proxy_service:
|
||||
enabled: false
|
||||
ssh_service:
|
||||
enabled: false
|
||||
teleport:
|
||||
auth_server: 127.0.0.1:3025
|
||||
log:
|
||||
format:
|
||||
extra_fields:
|
||||
- timestamp
|
||||
- level
|
||||
- component
|
||||
- caller
|
||||
output: text
|
||||
output: stderr
|
||||
severity: INFO
|
||||
storage:
|
||||
audit_events_uri:
|
||||
- athena://db.table?topicArn=arn:aws:sns:region:account_id:topic_name
|
||||
- dynamodb://my-dynamodb-table
|
||||
audit_sessions_uri: s3://asd
|
||||
auto_scaling: false
|
||||
continuous_backups: false
|
||||
region: asd
|
||||
table_name: asd
|
||||
type: dynamodb
|
||||
version: v3
|
||||
uses athena, dynamo, and stdout when everything is on:
|
||||
1: |
|
||||
|-
|
||||
auth_service:
|
||||
authentication:
|
||||
local_auth: true
|
||||
second_factor: "on"
|
||||
type: local
|
||||
webauthn:
|
||||
rp_id: teleport.example.com
|
||||
cluster_name: teleport.example.com
|
||||
enabled: true
|
||||
proxy_listener_mode: separate
|
||||
kubernetes_service:
|
||||
enabled: true
|
||||
kube_cluster_name: teleport.example.com
|
||||
listen_addr: 0.0.0.0:3026
|
||||
public_addr: RELEASE-NAME-auth.NAMESPACE.svc.cluster.local:3026
|
||||
proxy_service:
|
||||
enabled: false
|
||||
ssh_service:
|
||||
enabled: false
|
||||
teleport:
|
||||
auth_server: 127.0.0.1:3025
|
||||
log:
|
||||
format:
|
||||
extra_fields:
|
||||
- timestamp
|
||||
- level
|
||||
- component
|
||||
- caller
|
||||
output: text
|
||||
output: stderr
|
||||
severity: INFO
|
||||
storage:
|
||||
audit_events_uri:
|
||||
- athena://db.table?topicArn=arn:aws:sns:region:account_id:topic_name
|
||||
- dynamodb://my-dynamodb-table
|
||||
- stdout://
|
||||
audit_sessions_uri: s3://asd
|
||||
auto_scaling: false
|
||||
continuous_backups: false
|
||||
region: asd
|
||||
table_name: asd
|
||||
type: dynamodb
|
||||
version: v3
|
||||
uses dynamo as primary backend when configured:
|
||||
1: |
|
||||
|-
|
||||
auth_service:
|
||||
authentication:
|
||||
local_auth: true
|
||||
second_factor: "on"
|
||||
type: local
|
||||
webauthn:
|
||||
rp_id: teleport.example.com
|
||||
cluster_name: teleport.example.com
|
||||
enabled: true
|
||||
proxy_listener_mode: separate
|
||||
kubernetes_service:
|
||||
enabled: true
|
||||
kube_cluster_name: teleport.example.com
|
||||
listen_addr: 0.0.0.0:3026
|
||||
public_addr: RELEASE-NAME-auth.NAMESPACE.svc.cluster.local:3026
|
||||
proxy_service:
|
||||
enabled: false
|
||||
ssh_service:
|
||||
enabled: false
|
||||
teleport:
|
||||
auth_server: 127.0.0.1:3025
|
||||
log:
|
||||
format:
|
||||
extra_fields:
|
||||
- timestamp
|
||||
- level
|
||||
- component
|
||||
- caller
|
||||
output: text
|
||||
output: stderr
|
||||
severity: INFO
|
||||
storage:
|
||||
audit_events_uri:
|
||||
- dynamodb://my-dynamodb-table
|
||||
- athena://db.table?topicArn=arn:aws:sns:region:account_id:topic_name
|
||||
audit_sessions_uri: s3://asd
|
||||
auto_scaling: false
|
||||
continuous_backups: false
|
||||
region: asd
|
||||
table_name: asd
|
||||
type: dynamodb
|
||||
version: v3
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
- --apply-on-startup=/etc/teleport/apply-on-startup.yaml
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -141,7 +141,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:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -238,7 +238,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:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -324,7 +324,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:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
|
||||
@@ -5,8 +5,15 @@ should provision initContainer correctly when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
name: wait-auth-update
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 0.1
|
||||
memory: 256Mi
|
||||
- args:
|
||||
- echo test
|
||||
image: alpine
|
||||
@@ -62,7 +69,7 @@ should set nodeSelector when set in values:
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -123,7 +130,7 @@ should set nodeSelector when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
name: wait-auth-update
|
||||
nodeSelector:
|
||||
environment: security
|
||||
@@ -166,7 +173,7 @@ should set required affinity when highAvailability.requireAntiAffinity is set:
|
||||
values:
|
||||
- proxy
|
||||
topologyKey: kubernetes.io/hostname
|
||||
should set resources when set in values:
|
||||
should set resources for wait-auth-update initContainer when set in values:
|
||||
1: |
|
||||
affinity:
|
||||
podAntiAffinity: null
|
||||
@@ -174,7 +181,7 @@ should set resources when set in values:
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -242,8 +249,123 @@ should set resources when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
name: wait-auth-update
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 0.1
|
||||
memory: 256Mi
|
||||
serviceAccountName: RELEASE-NAME-proxy
|
||||
terminationGracePeriodSeconds: 60
|
||||
volumes:
|
||||
- name: proxy-serviceaccount-token
|
||||
projected:
|
||||
sources:
|
||||
- serviceAccountToken:
|
||||
path: token
|
||||
- configMap:
|
||||
items:
|
||||
- key: ca.crt
|
||||
path: ca.crt
|
||||
name: kube-root-ca.crt
|
||||
- downwardAPI:
|
||||
items:
|
||||
- fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
path: namespace
|
||||
- configMap:
|
||||
name: RELEASE-NAME-proxy
|
||||
name: config
|
||||
- emptyDir: {}
|
||||
name: data
|
||||
should set resources when set in values:
|
||||
1: |
|
||||
affinity:
|
||||
podAntiAffinity: null
|
||||
automountServiceAccountToken: false
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command:
|
||||
- teleport
|
||||
- wait
|
||||
- duration
|
||||
- 30s
|
||||
livenessProbe:
|
||||
failureThreshold: 6
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: diag
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
name: teleport
|
||||
ports:
|
||||
- containerPort: 3080
|
||||
name: tls
|
||||
protocol: TCP
|
||||
- containerPort: 3023
|
||||
name: sshproxy
|
||||
protocol: TCP
|
||||
- containerPort: 3024
|
||||
name: sshtun
|
||||
protocol: TCP
|
||||
- containerPort: 3026
|
||||
name: kube
|
||||
protocol: TCP
|
||||
- containerPort: 3036
|
||||
name: mysql
|
||||
protocol: TCP
|
||||
- containerPort: 3000
|
||||
name: diag
|
||||
protocol: TCP
|
||||
readinessProbe:
|
||||
failureThreshold: 12
|
||||
httpGet:
|
||||
path: /readyz
|
||||
port: diag
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 4Gi
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 2Gi
|
||||
volumeMounts:
|
||||
- mountPath: /etc/teleport
|
||||
name: config
|
||||
readOnly: true
|
||||
- mountPath: /var/lib/teleport
|
||||
name: data
|
||||
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
||||
name: proxy-serviceaccount-token
|
||||
readOnly: true
|
||||
initContainers:
|
||||
- command:
|
||||
- teleport
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
name: wait-auth-update
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 0.1
|
||||
memory: 256Mi
|
||||
serviceAccountName: RELEASE-NAME-proxy
|
||||
terminationGracePeriodSeconds: 60
|
||||
volumes:
|
||||
@@ -275,7 +397,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:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -343,7 +465,7 @@ should set securityContext for initContainers when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
name: wait-auth-update
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
@@ -383,7 +505,7 @@ should set securityContext when set in values:
|
||||
containers:
|
||||
- args:
|
||||
- --diag-addr=0.0.0.0:3000
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
imagePullPolicy: IfNotPresent
|
||||
lifecycle:
|
||||
preStop:
|
||||
@@ -451,7 +573,7 @@ should set securityContext when set in values:
|
||||
- wait
|
||||
- no-resolve
|
||||
- RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.0.1
|
||||
image: public.ecr.aws/gravitational/teleport-distroless:15.3.3
|
||||
name: wait-auth-update
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
Reference in New Issue
Block a user