- Install Helm and Kubernetes client in order to run the steps provided in the following quick start guide.
- An already setup Kubernetes cluster.
- Install NGINX Ingress Controller.
- Add the WSO2 Helm chart repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/enforcer-parent/enforcer/src/main/resources/Dockerfile b/enforcer-parent/enforcer/src/main/resources/Dockerfile | |
index 5cff3172d..b085e4958 100644 | |
--- a/enforcer-parent/enforcer/src/main/resources/Dockerfile | |
+++ b/enforcer-parent/enforcer/src/main/resources/Dockerfile | |
@@ -14,14 +14,9 @@ | |
# limitations under the License. | |
# ----------------------------------------------------------------------- | |
-FROM adoptopenjdk/openjdk11:jre-11.0.23_9-alpine | |
-LABEL maintainer="WSO2 Docker Maintainers <wso2.com>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/adapter/internal/messaging/azure_listener.go b/adapter/internal/messaging/azure_listener.go | |
index 3f774287e..4f20968ce 100644 | |
--- a/adapter/internal/messaging/azure_listener.go | |
+++ b/adapter/internal/messaging/azure_listener.go | |
@@ -29,7 +29,7 @@ import ( | |
const ( | |
componentName = "adapter" | |
- subscriptionIdleTimeDuration = "P0Y0M3DT0H0M0S" | |
+ subscriptionIdleTimeDuration = "P0Y0M0DT0H30M0S" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump", | |
"bootstrap": { | |
"node": { | |
"id": "Default", | |
"cluster": "default_cluster", | |
"user_agent_name": "envoy", | |
"user_agent_build_version": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump", | |
"bootstrap": { | |
"node": { | |
"id": "Default", | |
"cluster": "default_cluster", | |
"user_agent_name": "envoy", | |
"user_agent_build_version": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trivyVersion="latest" | |
trivyExitCode=1 | |
buildFail=0 | |
trivy() { | |
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \ | |
-v "$PWD/.trivyignore":/.trivyignore:ro aquasec/trivy:${trivyVersion} image --exit-code "${trivyExitCode}" $4 \ | |
--severity MEDIUM,HIGH,CRITICAL --ignorefile /.trivyignore --timeout 10m $1/$2:$3 | |
if [ ${trivyExitCode} -eq 1 -a $? -eq 1 ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump", | |
"bootstrap": { | |
"node": { | |
"id": "Default", | |
"cluster": "default_cluster", | |
"user_agent_name": "envoy", | |
"user_agent_build_version": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Route | |
apiVersion: route.openshift.io/v1 | |
metadata: | |
name: adapter | |
namespace: cc | |
labels: | |
app.kubernetes.io/component: choreo-connect-adapter | |
app.kubernetes.io/instance: foo | |
app.kubernetes.io/managed-by: Helm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OLM_VERSION=0.15.1 | |
MARKETPLACE_VERSION=4.5 | |
OPERATOR_MARKETPLACE_VERSION="release-${MARKETPLACE_VERSION}" | |
curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/${OLM_VERSION}/install.sh | bash -s ${OLM_VERSION} | |
kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-marketplace/${OPERATOR_MARKETPLACE_VERSION}/deploy/upstream/01_namespace.yaml | |
kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-marketplace/${OPERATOR_MARKETPLACE_VERSION}/deploy/upstream/03_operatorsource.crd.yaml | |
kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-marketplace/${OPERATOR_MARKETPLACE_VERSION}/deploy/upstream/04_service_account.yaml | |
kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-marketplace/${OPERATOR_MARKETPLACE_VERSION}/deploy/upstream/05_role.yaml | |
kubectl apply -f https://raw.githubusercontent.com/operator-framework/operator-marketplace/${OPERATOR_MARKETPLACE_VERSION}/deploy/upstrea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# namespace to be deleted in k8s | |
NAMESPACE=foo | |
# Terminal 1 | |
kubectl proxy | |
# Terminal 2 | |
kubectl get ns $NAMESPACE -o json | \ | |
jq '.spec.finalizers=[]' | \ | |
curl -X PUT "http://localhost:8001/api/v1/namespaces/${NAMESPACE}/finalize" -H "Content-Type: application/json" --data @- |
NewerOlder