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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: candy-service-config | |
data: | |
candy.cfg: |- | |
candy.peppermint.power=100000000 | |
candy.nougat-armor.strength=10 | |
candy.lemon.acceptability=0 |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: Pod-1 | |
labels: | |
run: app | |
namespace: new-ns | |
spec: | |
containers: | |
- image: nginx |
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
RED='\033[0;31m' | |
NC='\033[0m' | |
GREEN='\033[0;32m' | |
BLUE='\033[0;34m' | |
echo -e "\n****** Welcome to ${RED}Git${NC} Script by ${GREEN}BAZ${NC} **$ | |
echo "This script will upadte file to GtHub by taking filename input!" | |
ls | |
git status | |
echo -e "\n ${BLUE}Please enter file name you want to upload to remote re$ | |
read fname |
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
#Random Number generator between 0 & 100 and breaks if greater than 50 | |
let a=1 | |
while [ $a -le 100 ] | |
do | |
k=${RANDOM:0:2} | |
#for generating random number between 0 & 99 | |
echo $k | |
if [ $k -gt 50 ] | |
then | |
echo "Bye - $k is greater than 50" |