Skip to content

Instantly share code, notes, and snippets.

@asksven
asksven / backup-cronjob-config.yaml
Created April 2, 2023 14:49
Backup / Restore and error handling
apiVersion: v1
kind: ConfigMap
metadata:
name: backupcronjob-config
data:
backup.sh: |
#!/bin/bash
# Handler will be called if something fails
handler()
import click
# Group for 'project' commands
@click.group()
def project():
pass
# Project commands
@project.command()
def list():
tap "adoptopenjdk/openjdk"
tap "fairwindsops/tap"
tap "hashicorp/tap"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
tap "int128/kubelogin"
brew "[email protected]"
brew "ansible"
brew "[email protected]"
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = false
[line_break]
disabled = true
# Replace the '❯' symbol in the prompt with '➜'