-
Change
apiVersion
from:- apiVersion: v1
(or
apiVersion: apps.openshift.io/v1
)to:
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
I was drawn to programming, science, technology and science fiction | |
ever since I was a little kid. I can't say it's because I wanted to | |
make the world a better place. Not really. I was simply drawn to it | |
because I was drawn to it. Writing programs was fun. Figuring out how | |
nature works was fascinating. Science fiction felt like a grand | |
adventure. | |
Then I started a software company and poured every ounce of energy | |
into it. It failed. That hurt, but that part is ok. I made a lot of | |
mistakes and learned from them. This experience made me much, much |
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
open System | |
open System.IO | |
open System.Net | |
open System.Text.Json | |
open System.Collections.Generic | |
open System.Security.Cryptography | |
/// Taken from hash.cc in the nix codebase | |
/// https://github.com/NixOS/nix/blob/a7540294cfae82c098e8691cd5212a9184add574/src/libutil/hash.cc | |
module Base32 = |
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
################################################################################################# | |
# Checkout master, pull from master, prune master to remove branches that are merged with master | |
################################################################################################# | |
function gitcleanmaster(){ | |
git checkout master | |
git pull | |
git remote prune origin | |
git branch --merged | grep -v "\*" | xargs -rn 1 git branch -d | |
} |
!!! For M1/M2 apple silicon see this comment:
For MacOS | Mojave | High Sierra
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
FROM alpine:3.8 | |
# Alpine comes with built in cron schedules | |
# min hour day month weekday command | |
# */15 * * * * run-parts /etc/periodic/15min | |
# 0 * * * * run-parts /etc/periodic/hourly | |
# 0 2 * * * run-parts /etc/periodic/daily | |
# 0 3 * * 6 run-parts /etc/periodic/weekly | |
# 0 5 1 * * run-parts /etc/periodic/monthly |
- command line values (for example, -u my_user, these are not variables)
- role defaults (defined in role/defaults/main.yml)
- inventory file or script group vars
- inventory group_vars/all
Table of Contents
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
NewerOlder