Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

copy secret from one namespace to another

kubectl get secret <secret-name> -n <source-namespace> -o yaml 
| sed s/"namespace: <source-namespace>"/"namespace: <destination-namespace>"/
| kubectl apply -n <destination-namespace> -f -
Comment

PREVIOUS NEXT
Code Example
Shell :: remove a directory 
Shell :: install android studio from ubuntu terminal 
Shell :: git change comment 
Shell :: sudo cd command not found 
Shell :: how to still atom on ubuntu 
Shell :: We no longer support global installation of Create React App. 
Shell :: remote origin already exists. 
Shell :: bash set ifs to space 
Shell :: 15 second rubber ducky password 
Shell :: error permission to .git denied to deploy key 
Shell :: how to install opencv in anaconda, jupyter notebook 
Shell :: Submodule update 
Shell :: install criterion ubuntu 
Shell :: run laravel project from github 
Shell :: docker remove exited containers 
Shell :: zsh command not found nvm mac 
Shell :: split string in shell 
Shell :: linux sudo /opt/lampp/lampp start command not found 
Shell :: Ping with Timestamps 
Shell :: run flake8 
Shell :: How to check if there are multiple versions of PHP installed on Ubuntu 12.04 LTS? 
Shell :: install makecert windows 10 
Shell :: last login linux 
Shell :: ssh connect command 
Shell :: how to update git 
Shell :: how to install the app of specific version in laravel 
Shell :: how to kill process in linux by name 
Shell :: ingnore large files in github 
Shell :: edit file as root ubuntu 
Shell :: git tag to previous commit 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =