Skip to content

Instantly share code, notes, and snippets.


Adrian Wyssmann papanito

View GitHub Profile
View tlp
# ------------------------------------------------------------------------------
# tlp - Parameters for power save
# See full explanation:
# Hint: some features are disabled by default, remove the leading # to enable
# them.
# Set to 0 to disable, 1 to enable TLP.
View arch.conf
title Arch Linux (Standard)
linux /vmlinuz-linux
initrd /initramfs-linux.img
options luks.uuid=556bf1e4-3730-4da3-8688-0f3c468bf5bb luks.crypttab=yes resume=/dev/mapper/CryptVol-swap root=/dev/mapper/CryptVol-root rw
papanito /
Last active May 17, 2018 — forked from rickyah/
A simple guide to git-svn

Getting started with git-svn

git-svn is a git command that allows using git to interact with Subversion repositories.git-svn is part of git, meaning that is NOT a plugin but actually bundled with your git installation. SourceTree also happens to support this command so you can use it with your usual workflow.


Cloning the SVN repository

You need to create a new local copy of the repository with the command

View gist:1664fa452087e3ae91bafd73a74b2edd
openssl pkey -in $KEY -pubout -outform pem | sha256sum
openssl x509 -in $CERT -pubkey -noout -outform pem | sha256sum
openssl req -in $CSR -pubkey -noout -outform pem | sha256sum
papanito / k8s-metricbeat.values.yaml
Last active Jun 9, 2020
An example `values.yaml` for installing `helm install k8s-metricbeat stable/metricbeat --namespace kube-system -f k8s-metricbeat.values.yaml`. It does not yet include shipping secret
View k8s-metricbeat.values.yaml
# The instances created by daemonset retrieve most metrics from the host
enabled: true
podAnnotations: []
priorityClassName: ""
- key:
operator: Exists
effect: NoSchedule
nodeSelector: {}
papanito /
Created Jun 11, 2020 — forked from janeczku/
How to register Rancher managed Kubernetes clusters in Argo CD

How to register Rancher managed Kubernetes clusters in Argo CD

Registering Rancher managed clusters in Argo CD doesn't work out of the box unless the Authorized Cluster Endpoint is used. Many users will prefer an integration of Argo CD via the central Rancher authentication proxy (which shares the network endpoint of the Rancher API/GUI). So let's find out why registering clusters via Rancher auth proxy fails and how to make it work.

Hint: If you are just looking for the solution scroll to the bottom of this page.

Why do i get an error when running argocd cluster add?

Service Account tokens and the Rancher authentication proxy

You can’t perform that action at this time.