kubectl-dapply

module
v0.24.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: Apache-2.0

README

kubectl-dapply

This plugin wraps kubectl apply with showing differences that will be applied and asking user to proceed to apply or not prior.

GoDoc Go Report Card

Details

Currenly, if user wants to see the differences before apply, user has to manually run kubectl diff command. This plugin provides a combined way of kubectl apply and kubectl diff commands with user interaction. It shows differences first and if user decides to proceed, it applies resources exactly the same way of kubectl apply does.

Installation

Use krew plugin manager to install,

wget https://github.com/ardaguclu/kubectl-dapply/blob/main/.krew.yaml
kubectl krew install dapply --manifest=.krew.yaml
kubectl dapply --help

Or manually clone the repo and install into your $GOPATH;

go install cmd/kubectl-dapply.go

Usage

It is fully compatible with kubectl apply command.

asciicast

Directories

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL