Skip to content

Instantly share code, notes, and snippets.

View dneto82's full-sized avatar

Daniel Neto dneto82

View GitHub Profile
@KaBankz
KaBankz / 99-enable-proton-port-forward-cron.sh
Last active October 16, 2024 22:40
Enable ProtonVPN port forwarding with qBittorrent on docker
#!/command/with-contenv bash
# shellcheck shell=bash
#
# This is for hotio's qBittorrent docker image, but can be used for other qBittorrent docker images
# by mounting this script to wherever your image expects custom init scripts to be, and changing
# the shebang to the appropriate path for your image
#
# This script adds proton-port-forward-for-qbittorrent.sh to the crontab to run every 15 min on container start
# Make sure proton-port-forward-for-qbittorrent.sh is in the expected location /usr/local/bin

The following are steps to set up Azure AD as an Identity Provider for an on-prem Kubernetes cluster.

Starting point:

  • Azure Subscription
  • On-prem Kubernetes cluster (in my case RKE2 v1.27.12+rke2r1)

The scenario is pretty straightforward:

I want to connect from my Workstation (Windows/Linux/Mac) to an on-prem Kubernetes cluster and authenticate to is using Azure AD.