Skip to content

Commit

Permalink
Apply TLS configs for the entire tests suite
Browse files Browse the repository at this point in the history
Signed-off-by: Pierangelo Di Pilato <[email protected]>
  • Loading branch information
pierDipi committed May 9, 2024
1 parent 79d9382 commit 9e95280
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package config_transport_encryption is a placeholder that allows us to pull in config files
// Package config is a placeholder that allows us to pull in config files
// via go mod vendor.
package config_transport_encryption
package tls
File renamed without changes.
4 changes: 4 additions & 0 deletions test/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ readonly MT_CHANNEL_BASED_BROKER_CONFIG_DIR="config/brokers/mt-channel-broker"
# MT Channel Based Broker config.
readonly MT_CHANNEL_BASED_BROKER_DEFAULT_CONFIG="config/core/configmaps/default-broker.yaml"

readonly EVENTING_TLS_TEST_CONFIG_DIR="test/config/tls"

# Config tracing config.
readonly CONFIG_TRACING_CONFIG="test/config/config-tracing.yaml"

Expand Down Expand Up @@ -183,6 +185,8 @@ function install_knative_eventing() {
sed "s/namespace: ${KNATIVE_DEFAULT_NAMESPACE}/namespace: ${SYSTEM_NAMESPACE}/g" "${CONFIG_TRACING_CONFIG}" > "${TMP_CONFIG_TRACING_CONFIG}"
kubectl replace -f "${TMP_CONFIG_TRACING_CONFIG}"

kubectl apply -Rf "${EVENTING_TLS_TEST_CONFIG_DIR}"

scale_controlplane eventing-webhook eventing-controller

wait_until_pods_running "${SYSTEM_NAMESPACE}" || fail_test "Knative Eventing did not come up"
Expand Down

0 comments on commit 9e95280

Please sign in to comment.