-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SecretExport object changed and not able anymore to export to allNamespaces #33
Comments
cmoulliard
added a commit
that referenced
this issue
Apr 17, 2023
Signed-off-by: Charles Moulliard <[email protected]>
The workaround is to create another tanzu secret with the registry credentials and to specify it within the tap config file for the buildservice to avoid to use the shared one as kapp will override it:
|
cmoulliard
added a commit
that referenced
this issue
Apr 20, 2023
* Work in progress. Bumped the version of the client, cluster essentials Signed-off-by: Charles Moulliard <[email protected]> * Add missing version to the tanzu-application-platform tar file to be extracted Signed-off-by: Charles Moulliard <[email protected]> * Fixing the wrong version of the folder where the cli is stored within the extracted file Signed-off-by: Charles Moulliard <[email protected]> * Bump the version of the package links from 1.3 to 1.5 Signed-off-by: Charles Moulliard <[email protected]> * Remove the hard coded container registry to use the parameters Signed-off-by: Charles Moulliard <[email protected]> * Updated the profile to full like the parameters Signed-off-by: Charles Moulliard <[email protected]> * Do not try to create the namespace if it already exists Signed-off-by: Charles Moulliard <[email protected]> * Use rollout status Signed-off-by: Charles Moulliard <[email protected]> * Fixing ytt One or more data values were invalid Signed-off-by: Charles Moulliard <[email protected]> * Add step to create the kapp controller ca secret for local registry. To be reviewed Signed-off-by: Charles Moulliard <[email protected]> * Don't stop if namespace already exists Signed-off-by: Charles Moulliard <[email protected]> * Add the 3 new components proposed: Crossplan, Spring Cloud Gateway and Bitnami service to the home page Signed-off-by: Charles Moulliard <[email protected]> * Changed the link to point to the list of the packages documentation page Signed-off-by: Charles Moulliard <[email protected]> * Define a new property to tell if we use a local container registry Signed-off-by: Charles Moulliard <[email protected]> * Aligned the config according to tap 1.5 documentation Signed-off-by: Charles Moulliard <[email protected]> * Use the variable instead of the hard coded registry name Signed-off-by: Charles Moulliard <[email protected]> * Add pause command after the repository has been added. Move the step to crate the registry credentials later. Add todo to see if we will support the option to install all the builder images Signed-off-by: Charles Moulliard <[email protected]> * Fixing wrong reg_server name to copy the images Signed-off-by: Charles Moulliard <[email protected]> * Use tanzu registry instead of local registry within echo message Signed-off-by: Charles Moulliard <[email protected]> * Remove kp_default_repository_secret to avoid to patch the secretExport previously created Signed-off-by: Charles Moulliard <[email protected]> * Creating a new secret to try to fix issue. #33 Signed-off-by: Charles Moulliard <[email protected]> * Creating the missing demo namespace needed for grype Signed-off-by: Charles Moulliard <[email protected]> * Adding missing double quotes for gitops config Signed-off-by: Charles Moulliard <[email protected]> * Delete the secret kapp-controller-config if it has already been created Signed-off-by: Charles Moulliard <[email protected]> * Include a case section and moved the step to install the kube dashboard to a function Signed-off-by: Charles Moulliard <[email protected]> * Create a funciton to list the packages Signed-off-by: Charles Moulliard <[email protected]> * Refactor the project to use functions Signed-off-by: Charles Moulliard <[email protected]> * Adding the missing fmt function Signed-off-by: Charles Moulliard <[email protected]> * Removing the option to pass to each function parameters Signed-off-by: Charles Moulliard <[email protected]> * Commented the lines to set the KUBECONFIG as they clonflicts with functions Signed-off-by: Charles Moulliard <[email protected]> * Add the name of the function Signed-off-by: Charles Moulliard <[email protected]> * Fix wrong dashboard version Signed-off-by: Charles Moulliard <[email protected]> * Creating first the k8s dashboard ns Signed-off-by: Charles Moulliard <[email protected]> * Deleting the ValidatingWebhookConfiguration ingress-nginx-admission to avoid the error: failed calling webhook "validate.nginx.ingress.kubernetes.io" Signed-off-by: Charles Moulliard <[email protected]> * Suppress error messag whn packages are installed Signed-off-by: Charles Moulliard <[email protected]> * Improved the usage help Signed-off-by: Charles Moulliard <[email protected]> * Add mising functions to check/detect os Signed-off-by: Charles Moulliard <[email protected]> * Use || true instead of >dev/nul Signed-off-by: Charles Moulliard <[email protected]> * Moving the code to install clustr essentials to a separate function Signed-off-by: Charles Moulliard <[email protected]> * Fix wrong value passed to --wait-check-interval. 10 -> 10s Signed-off-by: Charles Moulliard <[email protected]> * Add missing clusterEssentials to the case Signed-off-by: Charles Moulliard <[email protected]> * Saving the configfile within the tanzu temp dir Signed-off-by: Charles Moulliard <[email protected]> * Add missing function createConfigFile Signed-off-by: Charles Moulliard <[email protected]> * Fix error and add the lissing prefix to create the tap config file Signed-off-by: Charles Moulliard <[email protected]> * Add the missing function to the usage: deployKubernetesDashboard Signed-off-by: Charles Moulliard <[email protected]> * Align the help descriptions Signed-off-by: Charles Moulliard <[email protected]> * Continue if kubctl delete fail for ValidatingWebhookConfiguration ingress-nginx-admission Signed-off-by: Charles Moulliard <[email protected]> * Moving the code to populte a user namespace to install.sh Signed-off-by: Charles Moulliard <[email protected]> * Specify that we can pass a parameter Signed-off-by: Charles Moulliard <[email protected]> * Patchinbg the serviceacount Signed-off-by: Charles Moulliard <[email protected]> * Removing the SA as it is by default created Signed-off-by: Charles Moulliard <[email protected]> * Created workload, catalog and tiltfil to play with Spring Petclinic demo Signed-off-by: Charles Moulliard <[email protected]> * Removing the bash script as we do not need anymore as the command: tanzu package installed list -A proper shows th packages installed and their information Signed-off-by: Charles Moulliard <[email protected]> * Removing the script to install the container registry as a pod as the kind script using secured registry is working fine Signed-off-by: Charles Moulliard <[email protected]> * Deleting some scripts that we don't use/need anymore Signed-off-by: Charles Moulliard <[email protected]> * Reviewed the list of the packages, addd the new as crossplane, bitnami, etc and updated the links Signed-off-by: Charles Moulliard <[email protected]> * Add a new parameter to install or not the Tanzu tools: CLI and pivnet Signed-off-by: Charles Moulliard <[email protected]> * Removing the uninstall.sh script as we will recreate a kind cluster to do another test Signed-off-by: Charles Moulliard <[email protected]> * Reorg th different bash scripts Signed-off-by: Charles Moulliard <[email protected]> * Created an install option to execute the different functions Signed-off-by: Charles Moulliard <[email protected]> * Create an init function Signed-off-by: Charles Moulliard <[email protected]> * Add a description to introduce the script Signed-off-by: Charles Moulliard <[email protected]> * Reviewing instructions. Adding remove function. Use latest kind bash script Signed-off-by: Charles Moulliard <[email protected]> * Renaming tap.sh to install.sh Signed-off-by: Charles Moulliard <[email protected]> * Removing the command deleteing the admission webhook as it is not needed anymore Signed-off-by: Charles Moulliard <[email protected]> * Renaming the namespace from demo- to demo. Started to replay the demo Signed-off-by: Charles Moulliard <[email protected]> * Review how to configure the kubectl krew aliases using .bashrc.d folder Signed-off-by: Charles Moulliard <[email protected]> * Removing the non needed files Signed-off-by: Charles Moulliard <[email protected]> * Fixing wrong path to source /Users/cmoullia/.bashrc Signed-off-by: Charles Moulliard <[email protected]> * Add a log message to tell to the user that they must source the .bashrc file and log the aliases created Signed-off-by: Charles Moulliard <[email protected]> * Adding the missing double quotes Signed-off-by: Charles Moulliard <[email protected]> * Removing simple quote non needed Signed-off-by: Charles Moulliard <[email protected]> * Add a new alias krew = kubctl krew Signed-off-by: Charles Moulliard <[email protected]> * Adding new tools: kind and kubectl Signed-off-by: Charles Moulliard <[email protected]> * Fix wrong indentation Signed-off-by: Charles Moulliard <[email protected]> * Add missing quote Signed-off-by: Charles Moulliard <[email protected]> * curl in silence Signed-off-by: Charles Moulliard <[email protected]> * Be more verbose when kubectl and kind are installed Signed-off-by: Charles Moulliard <[email protected]> * Moving the code to the proper place Signed-off-by: Charles Moulliard <[email protected]> * Adding the registryCaBundleConfig's parameter to crossplane to import the registry private CA registry Signed-off-by: Charles Moulliard <[email protected]> * Removing non needed bash script Signed-off-by: Charles Moulliard <[email protected]> * Adding the hack to resolve the issue #34 and create a CM to load the registry certificate file Signed-off-by: Charles Moulliard <[email protected]> * Removing the non needed ./ Signed-off-by: Charles Moulliard <[email protected]> * Reviewing the claiming demo3 scenario Signed-off-by: Charles Moulliard <[email protected]> --------- Signed-off-by: Charles Moulliard <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
During the installation of TAP 1.5 with the bash script, the script creates a secret using the command
but the
secretExport
is changed when the packages are installed and yhen is not able to be exported to all the namespaces excptkpack and buildservice
Before
After
Investigation
To find the kapp which did the change, execute the following commands:
The text was updated successfully, but these errors were encountered: