feat(snc): add servicemesh profile with OpenShift Service Mesh 3 support#741
Merged
adrianriobo merged 1 commit intoredhat-developer:mainfrom Mar 24, 2026
Merged
Conversation
Contributor
Author
Testing servicemesh profile1. Create the SNC cluster with servicemesh profileexport AWS_SECRET_ACCESS_KEY=""
export AWS_ACCESS_KEY_ID=""
export PULUMI_CONFIG_PASSPHRASE=""
./out/mapt aws openshift-snc create \
--project-name jmorenas-snc-test-istio \
--backed-url file:///tmp/mapt-workspace-istio \
--version 4.21.0 \
--pull-secret-file /path/to/pull-secret \
--conn-details-output /tmp/snc-istio \
--spot \
--tags owner=jmorenas \
--profile servicemesh2. Verify the service mesh control planeexport KUBECONFIG=/tmp/snc-istio/kubeconfig
oc get istiocni default -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}'
# True
oc get istio default -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}'
# True
oc get pods -n istio-system
# NAME READY STATUS RESTARTS AGE
# istiod-8454464677-6djg8 1/1 Running 0 2m37s
oc get pods -n istio-cni
# NAME READY STATUS RESTARTS AGE
# istio-cni-node-7p92t 1/1 Running 0 3m6s3. Deploy a test app with sidecar injectionoc new-project bookinfo
oc label namespace bookinfo istio-injection=enabled
oc apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.24/samples/bookinfo/platform/kube/bookinfo.yaml
oc wait -n bookinfo --for=condition=Ready pods --all --timeout=120s
oc get pods -n bookinfo4. Verify sidecars are injectedoc get pods -n bookinfo -o jsonpath='{range .items[*]}{.metadata.name}{" init: "}{range .spec.initContainers[*]}{.name}{" "}{end}{" containers: "}{range .spec.containers[*]}{.name}{" "}{end}{"\n"}{end}'All 6 pods have 5. Quick connectivity testoc exec -n bookinfo deploy/ratings-v1 -c ratings -- curl -sI productpage:9080/productpageTraffic is flowing through the Envoy proxy ( 6. Cleanup./out/mapt aws openshift-snc destroy \
--project-name jmorenas-snc-test-istio \
--backed-url file:///tmp/mapt-workspace-istio |
fa5e17b to
f7504a9
Compare
f7504a9 to
a9ab09f
Compare
adrianriobo
reviewed
Mar 24, 2026
pkg/provider/aws/action/snc/snc.go
Outdated
| } | ||
| ctx.Export(fmt.Sprintf("%s-%s", *r.prefix, apiSNC.OutputKubeconfig), | ||
| pulumi.ToSecret(kubeconfig)) | ||
| // Write kubeconfig to disk early so it is available even if profile deployment fails |
Collaborator
There was a problem hiding this comment.
Is not the same code to be deleted?
Contributor
Author
There was a problem hiding this comment.
Just deleted it, thx!
Installs the Red Hat OpenShift Service Mesh 3 operator (servicemeshoperator3) via OLM and deploys cluster-scoped IstioCNI and Istio CRs using the sailoperator.io/v1 API. Also updates findResource to support cluster-scoped resource lookups when namespace is empty.
a9ab09f to
87acefc
Compare
adrianriobo
approved these changes
Mar 24, 2026
Collaborator
adrianriobo
left a comment
There was a problem hiding this comment.
LGTM although if you can with the ai profile try to refactor the functions to deploy operators
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Installs the Red Hat OpenShift Service Mesh 3 operator (servicemeshoperator3) via OLM and deploys cluster-scoped IstioCNI and Istio CRs using the sailoperator.io/v1 API. Also updates findResource to support cluster-scoped resource lookups when namespace is empty.