add(any/aliases-kc): Init
This commit is contained in:
parent
2c4c614e8e
commit
f614881494
5
any/aliases-kc/.gitignore
vendored
Normal file
5
any/aliases-kc/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*
|
||||||
|
!*.sh
|
||||||
|
!.gitignore
|
||||||
|
!Makefile
|
||||||
|
!PKGBUILD
|
5
any/aliases-kc/Makefile
Normal file
5
any/aliases-kc/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
build:
|
||||||
|
makepkg --sign --force
|
||||||
|
|
||||||
|
install:
|
||||||
|
makepkg --sign --force --install
|
15
any/aliases-kc/PKGBUILD
Normal file
15
any/aliases-kc/PKGBUILD
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||||
|
|
||||||
|
pkgname=aliases-kc
|
||||||
|
pkgver=0.1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Markus Pesch's personal pacman aliases"
|
||||||
|
license=('GPL')
|
||||||
|
arch=('any')
|
||||||
|
source=("kubectl-aliases.sh")
|
||||||
|
sha256sums=('e0ae8edec72b91a0262be001f31ecae60e9ed77b61a554ee18568a5be04c01a1')
|
||||||
|
depends=("kubectl")
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -D --mode=0755 --target-directory=${pkgdir}/etc/profile.d ${srcdir}/kubectl-aliases.sh
|
||||||
|
}
|
21
any/aliases-kc/kubectl-aliases.sh
Normal file
21
any/aliases-kc/kubectl-aliases.sh
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Aliases for kubectl
|
||||||
|
alias kgcj='kubectl get cronjobs'
|
||||||
|
alias kgdp='kubectl get deployments'
|
||||||
|
alias kgds='kubectl get daemonsets'
|
||||||
|
alias kgep='kubectl get endpoints'
|
||||||
|
alias kgj='kubectl get jobs'
|
||||||
|
alias kgp='kubectl get pods'
|
||||||
|
alias kgrc='kubectl get replicationcontrollers'
|
||||||
|
alias kgrs='kubectl get replicasets'
|
||||||
|
alias kgsv='kubectl get services'
|
||||||
|
|
||||||
|
alias kd='kubectl delete'
|
||||||
|
alias kdcj='kubectl delete cronjobs'
|
||||||
|
alias kdep='kubectl delete endpoints'
|
||||||
|
alias kddp='kubectl delete deployments'
|
||||||
|
alias kdds='kubectl delete daemonsets'
|
||||||
|
alias kdj='kubectl delete jobs'
|
||||||
|
alias kdp='kubectl delete pods'
|
||||||
|
alias kdrc='kubectl delete replicationcontroller'
|
||||||
|
alias kdrs='kubectl delete replicasets'
|
||||||
|
alias kds='kubectl delete services'
|
Loading…
Reference in New Issue
Block a user