forked from jacobsvante/deploy-helm-gke-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
57 lines (52 loc) · 1.71 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Deploy Helm chart to GKE
author: Jacob Magnusson
description: >-
Configure and deploy a Helm chart to Google Kubernetes Engine,
decoding secrets using sops.
branding:
icon: layers
color: blue
runs:
using: docker
image: docker://jacobsvante/deploy-helm-gke-action:b7b891fa07d172dac1a8bdd99a6e315108996eb2
inputs:
docker-image-repo:
description: Docker image repository, e.g. `eu.gcr.io/abc123/my-app`
required: true
docker-image-tag:
description: Docker image tag, e.g. `v0.10.2`. Defaults to using the commit hash
required: true
default: ${{ github.sha }}
helm-release-name:
description: Name of the Helm release
required: true
helm-chart-path:
description: Where the Helm chart resides
required: true
helm-vars-folder:
description: >-
Folder with Helm variable files.
This folder must contain the file values.yaml,
and optionally a sops-encrypted file named secrets.yaml.
required: true
default: helm_vars
helm-set:
description: Additional helm values to set (corresponds to `helm upgrade --set`). Should have format KEY1=VAL1,KEY2=VAL2.
required: false
helm-set-string:
description: Additional helm string values to set (corresponds to `helm upgrade --set-string`). Should have format KEY1=VAL1,KEY2=VAL2.
required: false
gke-project:
description: The Google Cloud project
required: true
gke-cluster:
description: The name of the Google Cloud Kubernetes cluster
required: true
gke-zone:
description: The zone of the Kubernetes cluster
required: true
gke-sa-key:
description: >-
A Google Cloud service account key (JSON-format) which has
the required permissions.
required: true