Update teleport

This commit is contained in:
2025-05-13 22:48:36 +08:00
parent 7429da7f22
commit e2b5bb1376
25 changed files with 1367 additions and 125 deletions
@@ -24,7 +24,9 @@ configures access monitoring when its values are set:
workgroup: example_access_monitoring_workgroup
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -101,7 +103,9 @@ keeps the session_recording type even when it's "off":
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -137,7 +141,9 @@ matches snapshot for acme-off.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-cluster-name
@@ -172,7 +178,9 @@ matches snapshot for acme-on.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-acme-cluster
@@ -207,7 +215,9 @@ matches snapshot for acme-uri-staging.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-acme-cluster
@@ -243,7 +253,9 @@ matches snapshot for auth-connector-name.yaml:
authentication:
connector_name: okta
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -312,7 +324,9 @@ matches snapshot for auth-locking-mode.yaml:
authentication:
local_auth: true
locking_mode: strict
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -377,13 +391,90 @@ matches snapshot for auth-passwordless.yaml:
output: stderr
severity: INFO
version: v3
matches snapshot for auth-secondfactors-sso.yaml:
1: |
|-
auth_service:
authentication:
local_auth: true
second_factors:
- sso
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
matches snapshot for auth-secondfactors-webauthn.yaml:
1: |
|-
auth_service:
authentication:
local_auth: true
second_factors:
- sso
- webauthn
type: local
webauthn:
attestation_allowed_cas:
- /etc/ssl/certs/ca-certificates.crt
attestation_denied_cas:
- /etc/ssl/certs/ca-certificates.crt
rp_id: helm-lint
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
matches snapshot for auth-type-legacy.yaml:
1: |
|-
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: github
webauthn:
rp_id: helm-lint
@@ -418,7 +509,9 @@ matches snapshot for auth-type.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: github
webauthn:
rp_id: helm-lint
@@ -531,7 +624,9 @@ matches snapshot for aws-dynamodb-autoscaling.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -582,7 +677,9 @@ matches snapshot for aws-ha-acme.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -628,7 +725,9 @@ matches snapshot for aws-ha-antiaffinity.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -674,7 +773,9 @@ matches snapshot for aws-ha-log.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -721,7 +822,9 @@ matches snapshot for aws-ha.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -767,7 +870,9 @@ matches snapshot for aws.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -813,7 +918,9 @@ matches snapshot for azure.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-azure-cluster
@@ -856,7 +963,9 @@ matches snapshot for azure.yaml without pool_max_conn:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-azure-cluster
@@ -899,7 +1008,9 @@ matches snapshot for existing-tls-secret-with-ca.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-cluster-name
@@ -934,7 +1045,9 @@ matches snapshot for existing-tls-secret.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-cluster-name
@@ -969,7 +1082,9 @@ matches snapshot for gcp-ha-acme.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-gcp-cluster
@@ -1014,7 +1129,9 @@ matches snapshot for gcp-ha-antiaffinity.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-gcp-cluster
@@ -1059,7 +1176,9 @@ matches snapshot for gcp-ha-log.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-gcp-cluster
@@ -1105,7 +1224,9 @@ matches snapshot for gcp.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-gcp-cluster
@@ -1150,7 +1271,9 @@ matches snapshot for initcontainers.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1185,7 +1308,9 @@ matches snapshot for kube-cluster-name.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -1220,7 +1345,9 @@ matches snapshot for log-basic.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-log-cluster
@@ -1255,7 +1382,9 @@ matches snapshot for log-extra.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-log-cluster
@@ -1290,7 +1419,9 @@ matches snapshot for log-legacy.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-log-cluster
@@ -1325,7 +1456,9 @@ matches snapshot for priority-class-name.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1360,7 +1493,9 @@ matches snapshot for proxy-listener-mode-multiplex.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-proxy-listener-mode
@@ -1395,7 +1530,9 @@ matches snapshot for proxy-listener-mode-separate.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-proxy-listener-mode
@@ -1430,7 +1567,9 @@ matches snapshot for public-addresses.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1465,7 +1604,9 @@ matches snapshot for separate-mongo-listener.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1500,7 +1641,9 @@ matches snapshot for separate-postgres-listener.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1535,7 +1678,9 @@ matches snapshot for service.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1570,7 +1715,9 @@ matches snapshot for session-recording.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1606,7 +1753,9 @@ matches snapshot for standalone-customsize.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-standalone-cluster
@@ -1643,7 +1792,9 @@ matches snapshot for standalone-existingpvc.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-standalone-cluster
@@ -1680,7 +1831,9 @@ matches snapshot for tolerations.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-aws-cluster
@@ -1724,7 +1877,9 @@ matches snapshot for version-override.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: test-cluster-name
@@ -1762,7 +1917,9 @@ matches snapshot for volumes.yaml:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: helm-lint
@@ -1791,6 +1948,39 @@ matches snapshot for volumes.yaml:
output: stderr
severity: INFO
version: v3
matches snapshot when both secondFactor and secondFactors are set.:
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
sets clusterDomain on Configmap:
1: |
apiVersion: v1
@@ -1812,7 +2002,9 @@ sets clusterDomain on Configmap:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: teleport.example.com
@@ -1848,8 +2040,8 @@ sets clusterDomain on Configmap:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-cluster
app.kubernetes.io/version: 17.2.7
helm.sh/chart: teleport-cluster-17.2.7
app.kubernetes.io/version: 17.4.9
helm.sh/chart: teleport-cluster-17.4.9
teleport.dev/majorVersion: "17"
name: RELEASE-NAME-auth
namespace: NAMESPACE
@@ -1859,7 +2051,9 @@ uses athena as primary backend when configured:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: teleport.example.com
@@ -1904,7 +2098,9 @@ uses athena, dynamo, and stdout when everything is on:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: teleport.example.com
@@ -1950,7 +2146,9 @@ uses dynamo as primary backend when configured:
auth_service:
authentication:
local_auth: true
second_factor: "on"
second_factors:
- otp
- webauthn
type: local
webauthn:
rp_id: teleport.example.com