wget https://github.com/vmware-tanzu/velero/releases/download/v1.13.2/velero-v1.13.2-linux-amd64.tar.gz
tar -xvzf velero-v1.13.2-linux-amd64.tar.gz
cp velero-v1.13.2-linux-amd64/velero /usr/local/bin/velero
Need jq >=1.6
#!/bin/bash
function jwt_decode(){
jq -R 'split(".") | .[1] | @base64d | fromjson' <<< "$1"
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:-//ical.marudot.com//iCal Event Maker | |
CALSCALE:GREGORIAN | |
BEGIN:VTIMEZONE | |
TZID:Europe/Moscow | |
LAST-MODIFIED:20231227T071429Z | |
TZURL:https://www.tzurl.org/zoneinfo-outlook/Europe/Moscow | |
X-LIC-LOCATION:Europe/Moscow | |
BEGIN:STANDARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:-//ical.marudot.com//iCal Event Maker | |
CALSCALE:GREGORIAN | |
BEGIN:VTIMEZONE | |
TZID:Europe/Moscow | |
LAST-MODIFIED:20230407T050750Z | |
TZURL:https://www.tzurl.org/zoneinfo-outlook/Europe/Moscow | |
X-LIC-LOCATION:Europe/Moscow | |
BEGIN:STANDARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:-//ical.marudot.com//iCal Event Maker | |
CALSCALE:GREGORIAN | |
BEGIN:VTIMEZONE | |
TZID:Europe/Moscow | |
LAST-MODIFIED:20231227T062348Z | |
TZURL:https://www.tzurl.org/zoneinfo-outlook/Europe/Moscow | |
X-LIC-LOCATION:Europe/Moscow | |
BEGIN:STANDARD |
Fix unable to build kubernetes objects from current release manifest
# kubectl get secret sh.helm.release.v1.my-grafana.v23 -o yaml > helm-config.yaml
# kubectl get secrets sh.helm.release.v1.my-grafana.v23 -o json | jq .data.release | tr -d '"' | base64 -d | base64 -d | gzip -d > helm-config-data-decoded.yaml
# sed -e 's/cert-manager.io\/v1beta1/cert-manager.io\/v1/' helm-config-data-decoded.yaml > helm-config-data-decoded-replaced.yaml
# releaseData=$(cat helm-config-data-decoded.yaml | gzip | base64 | base64 | tr -d "\n")
# sed 's/^\(\s*release\s*:\s*\).*/\1'$releaseData'/' helm-config.yaml > helm-config-final.yaml
# kubectl apply -f helm-config-final.yaml
Gihub Webhook URL: http://<URL>:9000/hooks/dev-deploy
gh_webhook.sh:
#!/usr/local/bin/bash
set -euo pipefail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"let g:lightline = { | |
" \ 'colorscheme': 'onedark', | |
" \ } | |
"colorscheme onedark | |
if !1 | finish | endif | |
augroup vimrc | |
autocmd! |
NewerOlder