^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
^([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$
name: Publish Image | |
on: | |
workflow_dispatch: | |
inputs: | |
imageName: | |
type: string | |
description: Directory and the image name with a Dockerfile | |
env: |
apiVersion: argoproj.io/v1alpha1 | |
kind: ApplicationSet | |
metadata: | |
name: webapp-playdemo | |
namespace: argocd | |
spec: | |
generators: | |
- list: | |
elements: | |
- stage: dev |
#!/bin/sh | |
## ~/.kube/config generator | |
## | |
## - creates ~/.kube/config file with the provided context name | |
## - uses authentication helper which cats token from the path given (used with volume projection) | |
: ${KUBE_CONTEXT:?kube context name is not provided} | |
: ${KUBE_TOKENPATH:?path to Kubernetes token path is not provided} | |
mkdir -p $HOME/.kube/bin |
templates: | |
- | | |
# Service account which can decrypt helm secrets | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: github-actions-deployer | |
namespace: github-actions | |
annotations: | |
iam.gke.io/gcp-service-account: [email protected] |
#!/bin/bash | |
## Hotspot should be created | |
# sonoffDiy 20170618sn | |
# ref: https://www.sigmdel.ca/michel/ha/sonoff/sonoff_mini_en.html | |
# ref: https://github.com/itead/Sonoff_Devices_DIY_Tools/blob/master/other/SONOFF%20DIY%20MODE%20Protocol%20Doc%20v1.4.md | |
download() { | |
# Download latest | |
# Get lite version (must be less 508kb!) |
# Use envFrom to load Secrets and ConfigMaps into environment variables | |
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: mans-not-hot | |
labels: | |
app: mans-not-hot | |
spec: | |
replicas: 1 |
^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
^([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)\.([0-9]|[1-9][0-9]*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$
apiVersion: ark.heptio.com/v1 | |
kind: Backup | |
metadata: | |
creationTimestamp: 2018-11-08T14:33:07Z | |
generation: 1 | |
name: my-db-test | |
namespace: heptio-ark | |
resourceVersion: "33426" | |
selfLink: /apis/ark.heptio.com/v1/namespaces/heptio-ark/backups/my-db-test | |
uid: 35c1bb4f-e363-11e8-8d80-02ec800e0240 |