Fix platform engineering example and kubeconfig retriever#1452
Merged
devdattakulkarni merged 4 commits intocloud-ark:masterfrom Feb 9, 2026
Merged
Fix platform engineering example and kubeconfig retriever#1452devdattakulkarni merged 4 commits intocloud-ark:masterfrom
devdattakulkarni merged 4 commits intocloud-ark:masterfrom
Conversation
…ed ConfigMap value
…kubeconfig retriever - steps.txt: add step to copy kubeplus-saas-provider.json into example dir - custom-mysql-1.0-10.1.0.tgz: use bitnamilegacy images so MySQL pods pull - kubeconfigretriever.py: single-quote jsonpath, handle double-encoded ConfigMap, guard dict access
f2601f2 to
10aacc0
Compare
Contributor
|
Nice!! |
Collaborator
Author
Yes, I realized it was too many files (around 60) so we will only have the packaged chart for now |
Collaborator
Author
|
I have removed some comments in plugins/kubeconfigretriever.py |
Contributor
|
Looks good! |
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.
Summary
Fixes the platform engineering (Custom MySQL) example and the consumer kubeconfig retrieval plugin so the example runs end-to-end.
Changes
plugins/kubeconfigretriever.py
jsonpathargument so the shell does not alter it and kubectl returns the ConfigMap value (fixes empty output / "Expecting value: line 1 column 1").TypeError: string indices must be integers, not 'str').Platform engineering example
docker.io/bitnamitodocker.io/bitnamilegacy. The custom MySQL chart (and packaged tgz) now usebitnamilegacy/mysql,bitnamilegacy/os-shell, andbitnamilegacy/mysqld-exporterincharts/mysql/values.yamlso pods can pull images.kubeplus-saas-provider.jsoninto the example directory before step 4 so the following commands work without path prefixes.Testing
kubectl appresources,applogs, andmetricswork.