Skip to content

Commit

Permalink
Cleanup knative-internal-tls secrets (#14394)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode authored Sep 20, 2023
1 parent d33249b commit 127a351
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions config/core/300-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,19 @@ metadata:
labels:
serving-certs-ctrl: "data-plane"
networking.internal.knative.dev/certificate-uid: "serving-certs"
# The data is populated when internal-encryption is enabled.
# The data is populated when knative-internal-tls is enabled.
---
apiVersion: v1
kind: Secret
metadata:
# this is the legacy secret
# we can drop this once all net-* implementations are using the new `routing-serving-certs` secret
name: knative-serving-certs
namespace: knative-serving
labels:
serving-certs-ctrl: "data-plane"
networking.internal.knative.dev/certificate-uid: "serving-certs"
# The data is populated when internal-encryption is enabled.
---
apiVersion: v1
kind: Secret
metadata:
name: control-serving-certs
namespace: knative-serving
labels:
serving-certs-ctrl: "control-plane"
networking.internal.knative.dev/certificate-uid: "serving-certs"
# The data is populated when internal-encryption is enabled.
# The data is populated when knative-internal-tls is enabled.
---
apiVersion: v1
kind: Secret
Expand All @@ -51,6 +43,5 @@ metadata:
namespace: knative-serving
labels:
serving-certs-ctrl: "data-plane-routing"
routing-id: "0"
networking.internal.knative.dev/certificate-uid: "serving-certs"
# The data is populated when internal-encryption is enabled.
# The data is populated when knative-internal-tls is enabled.

0 comments on commit 127a351

Please sign in to comment.