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
import * as k8s from "@kubernetes/client-node"; | |
import { DeepPartial } from "ts-essentials"; | |
const serviceAccount: DeepPartial<k8s.V1ServiceAccount> = { | |
apiVersion: "v1", | |
kind: "ServiceAccount", | |
metadata: { | |
name: "noaccess", | |
}, | |
}; | |
const role: DeepPartial<k8s.V1Role> = { |
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
#!/bin/bash | |
# test kaniko under gvisor | |
declare Pkg=kgtest | |
declare Version=0.1.0 | |
set -o pipefail | |
# usage: msg MSG | |
function msg () { |
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
# alias k for kubectl | |
# usage: k KUBECTL_ARGS... | |
function k () { | |
kubectl "$@" | |
} | |
# print or switch kubectl kubeconfig contexts | |
# usage: kc [MATCH_REGEXP] | |
function kc () | |
{ |
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
#! /bin/sh | |
echo "hello, skills!" | |
date -u "$@" |
OlderNewer