Hundreds of millions of Facebook users had their account passwords stored in plain text and searchable by thousands of Facebook employees — in some cases going back to 2012, KrebsOnSecurity has learned. Facebook says an ongoing investigation has so far found no indication that employees have abused access to this data.Facebook’s statement can be found here.
For this posting I assume that kubectl
and helm
are installed and working. If unsure, this can be checked via kubectl get pods --all namespaces
which should return a pod with the name tiller-deploy-[...]
. For these examples I am using minikube.
To create an initial helm chart, run the command helm create <name>
. This creates a new chart template with the name <name>
. Of course this should be replaced with the actual name.
How to create the actual chart will be part of another blog entry.
To package that chart, run the following.
$ cd mychart/
$ helm package .
index.yaml
has to be created. The quickest way for testing is to deploy the Chartmuseum via helm itself:
$ helm install --set env.open.DISABLE_API=false stable/chartmuseum
DISABLE_API
needs to be set to false
, otherwise no uploads will be possible.
To upload the packaged chart to Chartmuseum, type the following curl
command:
$ curl --data-binary "@mychart-0.1.0.tgz" http://localhost:8080/api/charts
helm plugin install https://github.com/chartmuseum/helm-push
$ helm repo add chartmuseum http://localhost:8080
$ helm push mychart/ chartmuseum
$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "chartmuseum" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈
$ helm search chartmuseum/
I just released version 1.1.0 of febase62
. With this update it is now possible to encode byte strings as base62. The method signature stays the same:
>>> from febase62.base62 import Base62
>>> encoder = Base62()
>>> encoder.encode(b'\aa')
'6Sd'
>>> from febase62.base62 import Base62
>>> encoder = Base62()
>>> encoder.encode(1337)
'LZ'
pip install febase62
and the source code can be found here.
I have the following alias in my .bashrc
to create UUID’s quickly from the shell:
alias uuid="uuidgen | tr -d - | tr -d '\n' | tr '[:upper:]' '[:lower:]' | pbcopy && pbpaste && echo"
uuid
.
With the command jps
you can find all running java processes. This is even
faster than the example I showed in mid 2018 here.
$ jps
4979
9683 Jps