no cached repository for helm-manager- found. (try ‘helm repo update’)

If you hit this error at the beginning of 2020 most probably you do have dependency in your chart that points to deprecated repo.

You must updated URI in charts.yaml (or requirements.yaml)

NameOld LocationNew Location



Kubernetes namespace stuck at “terminating”

Most of the time you do not want to simply force deletion of given namespace. If there are some resources hanging you do want to clean them up first. Especially if you share your cluster with other teams. Why?

Imagine you will force delete your namespace (meaning someone else will be able to create namespace with such name). They might gain access to leftovers you did not bother to clean.

Ok how to find leftovers that blocks namespace from deletion?

kubectl api-resources  --verbs=list --namespaced -o name | xargs -n 1 kubectl get --show-kind --ignore-not-found -n $namespace

Inspect each case one by one.

Sometimes that problems comes from buggy kubernetes package. For instance Percona Helm charts is always giving me that problem which is also reported in theirs jira.

Uncategorized extension (5) should not be presented in certificate_request

After bumping to latest docker (19.03.12) or minikube (0.12.1) you might quickly realise that you cannot push images from under maven build lifecycle.

This is because docker guys bumped go lang dependency which by default is using TLS 1.3

Either add


to your java / maven command line or update your java to the very latest as this is fixed in every major java version now.

Also it might be great opportunity to learn about TLS 1.3.. the biggest improvement is reducing handshake time. Are you microservices talking to each other using latest TLS.. by default currently it’s rather unlikely and the change could greatly improve your integration test time, not to say about waiting time of your users.

aws Uncategorized

Aws cost savings tip#1

This will start series of blog posts about cost savings on Amazon. There are many typical mistakes that everyone is making, quick wins action that you can take to save some costs both for big scale and small scale deployments.

When you migrate to the cloud most probably you will be using Ec2 and RDS databases. Whole my private project code base relies on Spring boot + JPA + mysql8.. adapting this to other storage type would cause that I am more dependent on Amazon which I do not want. And also I would need seriously change not only DAO layer, but the way I model my data.. a bit to much..

My db size is around 10 gigabytes.. average utilisation is low I stop db over night using cloud custodian so I mostly pay for the storage.

I already know that if I was using google cloud I would switch to kubernetes and install mysql db myself… then I would be paying for tiny computing power and a bit of storage… on Amazon RDS service includes automated backups (which are super convenient), possibility to have multi AZ database (which I do not need)… but for now.. I will stick to Amazon.. what can I do?

Recently I learned that after switching from mysql 5 to mysql 8 default character encoding changed..

In mysql5 it was called utf8 which could not cope with any character (yes – surprise!). In mysql8 it’s called utf8mb4 which is a real utf, but it’s size. is 4 bytes for each character.

In practice the difference is neglectable. Old utf8 takes 3 bytes per character and the only characters it could have issues with are some emoticons data. It’s unlikely that it could cause you a problem unless you are developing application for many users and you do want to allow users to store emoticons in – let’s say blog comments..

Anyway.. if you migrate your db from mysql5 to 8 expect your database size, snapshots increase in worst case by 33% (from 3 bytes per character to 4 bytes).
That includes also traffic between db and application..

In my app most of my data are just numbers so that experiment will not affect me much. But other tables mostly contains names that are could be just plain ascii. I do not store any input from users… sounds like a place for a improvement…

There are default settings for character sets and collations at four levels: server, database, table, and column.

To change default character set you can use :


but this does not convert existing data values.. for that you need to execute:


After that.. my database was smaller by 10% and my storage costs dropped by 10% as well.

Ok and do we have any drawbacks? If you really know that your table and application usage will not be hurt by using ascii, latin or old utf8 character then no. If you want to introduce the change only to some tables then bare in mind that if you want to join let’s say “sessionId” from one table which is ascii and with second table where it is utf8 such join is not sagrable (indexes won’t be used) check here

So as always.. you need to decide, experiment and check.

Interesting comparison of impact on character set and collaction across mysql 5 and 8 is here

Bear in mind that the default utf8mb4 is there for a reason.. using that character you will not have any issues when storing data from many sources.. be it users or web scrapping data… Think about optimizations only if you have a use case for that (terrabytes of data for instance!)


Java does not work in latest firefox 52?

Old problem comes back due to different reasons. Firefox follows chrome and drops support for NPAPI plugins (it affects Silverlight and Flash as well).
By default support is disabled, but you can revert in.

  1. Go to about:config settings webpage (type it as uri in browser and press enter)
  2. Add new entry of boolean type with name plugin.load_flash_only and value set to false
  3. Restart browser and your java and silverlight should work again!

Ubuntu 16.04 custom kernel and latest Virtualbox

Due to some reason I had to go with 48 kernel and not 4.4 default one.
After some time I realized that my virtualbox is no longer working… This is one of nice things with Ubuntu.. It works all together flawlessly until you start messing with it (for instance when you need latest software and latest software usually has dependencies on some other latest software).
So for Kernel 4.8 you need Virtualbox 5.1 to install it quickly

wget -q -O- | sudo apt-key add -
wget -q -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-5.1
gentoo problems

Reason: Failed on SHA256 verification on gentoo

One reason of

Reason: Failed on SHA256 verification

is that during creation of ebuilds some packages are fetched from external sources (for instance from adobe-flash site) and they sometimes publish new version of a package exactly under the same name.
Then next update results in a checksum error, because saved source from distfile directory is used.

To fix that you could:

rm -rf /usr/portage/www-plugins/adobe-flash/


fix it with
ebuild /usr/portage/www-plugins/adobe-flash/adobe-flash- clean prepare

Above situation should occure very rarely.

gentoo problems

How to install and configure TL-WN722N on gentoo

1. First make sure you have these options compiled into kernel


If you cannot find them within your config it means that some other dependencies are missing from your kernel.
You can find it more easily with “make xconfig” and selecting option “show all”
2. Most likely you will have to select:


Without these two you will receive a lot of fancy errors like:

ioctl[SIOCSIWPMKSA]: Invalid argument

3. If you will see warning related to RFKILL you can fix them by compiling RFKILL into your kernel and emerge rfkill as well.


After that you can check status of your device by:

rfkill list all

and if it’s blocked just unblock it by

rfkill unblock wifi

Ok.. now iwconfig should show some info about your device.
The only thing left is to confiugre /etc/wpa_supplicant/wpa_supplicant.conf file

for most common WPA2 configuration it should contain :

pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40

If you want to avoid having password in plaintext you can use command
wpa_passphrase yourSsid password

and then paste

(note missing quotes!)

Now is time to check your configuration:

wpa_supplicant -iwlan0 -dd -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf

If everything works do

ln -s /etc/init.d/net.lo /etc/init.d/net.wlan0

and add it to default runlevel

rc-update add  net.wlan0 boot

In case of problems check:

  1. Is your card visible by lsusb ?
  2. Do you have any errors in dmesg
  3. Did you rebooted after recompiling modles?

I didn’t have to download anything drivers from suspicious pages! So please do not do this!
Everything worked on a modern kernel 3.13.7

Other common samples of wpa_supplicant.conf configurations related to different router’s security settings can be found here:


Public key for jenkins is not installed

Just do:

sudo wget -O /etc/yum.repos.d/jenkins.repo
sudo rpm --import

sudo yum install jenkins


How to update all kde packages without others on gentoo.

Try emerge -u $(qlist -IC kde-base/)