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
#!/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 |
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: argoproj.io/v1alpha1 | |
kind: ApplicationSet | |
metadata: | |
name: webapp-playdemo | |
namespace: argocd | |
spec: | |
generators: | |
- list: | |
elements: | |
- stage: dev |
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
name: Publish Image | |
on: | |
workflow_dispatch: | |
inputs: | |
imageName: | |
type: string | |
description: Directory and the image name with a Dockerfile | |
env: |
OlderNewer