Cleanup net-certmanager integration (#15168)

* Cleanup net-certmanager integration

* Remove additional /
This commit is contained in:
Reto Lehmann 2024-04-29 15:16:58 +02:00 committed by GitHub
parent 2dd44d939e
commit 08e8c32301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 4 additions and 20 deletions

View File

@ -22,7 +22,7 @@ metadata:
app.kubernetes.io/component: logging
app.kubernetes.io/name: knative-serving
annotations:
knative.dev/example-checksum: "53fda05f"
knative.dev/example-checksum: "9f25d429"
data:
_example: |
################################
@ -73,7 +73,6 @@ data:
loglevel.webhook: "info"
loglevel.activator: "info"
loglevel.hpaautoscaler: "info"
loglevel.net-certmanager-controller: "info"
loglevel.net-istio-controller: "info"
loglevel.net-contour-controller: "info"
loglevel.net-kourier-controller: "info"

View File

@ -33,5 +33,4 @@ data:
loglevel.activator: "debug"
loglevel.hpaautoscaler: "debug"
loglevel.net-istio-controller: "debug"
loglevel.net-certmanager-controller: "debug"
loglevel.net-contour-controller: "debug"

View File

@ -1,14 +0,0 @@
apiVersion: "security.istio.io/v1beta1"
kind: "PeerAuthentication"
metadata:
name: "net-certmanager-webhook"
namespace: "knative-serving"
labels:
networking.knative.dev/ingress-provider: istio
spec:
selector:
matchLabels:
app: net-certmanager-webhook
portLevelMtls:
8443:
mode: PERMISSIVE

View File

@ -309,8 +309,8 @@ function install() {
YTT_FILES+=("${REPO_ROOT_DIR}/test/config/ytt/ingress/${ingress}")
YTT_FILES+=("${REPO_ROOT_DIR}/test/config/ytt/certmanager/kapp-order.yaml")
YTT_FILES+=("${REPO_ROOT_DIR}/test/config/ytt/certmanager/kapp-secret-upgrade.yaml")
YTT_FILES+=("${REPO_ROOT_DIR}/test/config/ytt/certmanager/net-certmanager-config.yaml")
YTT_FILES+=("${REPO_ROOT_DIR}/third_party/cert-manager-${CERT_MANAGER_VERSION}/cert-manager.yaml")
YTT_FILES+=("${REPO_ROOT_DIR}/third_party/cert-manager-${CERT_MANAGER_VERSION}/net-certmanager.yaml")
if (( MESH )); then
YTT_FILES+=("${REPO_ROOT_DIR}/test/config/ytt/mesh")

View File

@ -42,7 +42,7 @@ function test_setup() {
kubectl apply -f third_party/cert-manager-latest/cert-manager.yaml || return 1
wait_until_pods_running cert-manager || return 1
echo ">> Bringing up net-certmanager Controller"
echo ">> Bringing up serving controller with net-certmanager enabled"
ko apply -f config || return 1
echo ">> Waiting for Serving components to be running..."
wait_until_pods_running knative-serving || return 1

View File

@ -5,7 +5,7 @@ feature documentation.
# Prerequisites
* Have `cert-manager` installed
* Have `net-certmanager` installed
* Have the Knative certmanager integration enabled
* Upload test images with `./test/upload-test-images.sh`
* Enable `external-domain-tls` with `kubectl patch cm config-network -n knative-serving -p '{"data":{"external-domain-tls": "enabled"}}'`