You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| resources | list[object]| Array of Kubernetes resources |
56
56
| team | string | Team tag |
57
-
| cluster | string | Kubernetes cluster, see [NAIS clusters](https://doc.nais.io/workloads/reference/environments)|
57
+
| cluster | string | Kubernetes cluster, see [Nais clusters](https://doc.nais.io/workloads/reference/environments)|
58
58
| environment | string | GitHub environment |
59
59
| owner | string | GitHub repository owner |
60
60
| repository | string | GitHub repository name |
61
61
| ref | string | GitHub commit hash or tag |
62
62
| timestamp | int64 | Current Unix timestamp |
63
63
64
64
Additionally, the header `X-NAIS-Signature` must contain a keyed-hash message authentication code (HMAC).
65
-
The code can be derived by hashing the request body using the SHA256 algorithm together with your team's NAIS Deploy API key.
65
+
The code can be derived by hashing the request body using the SHA256 algorithm together with your team's Nais Deploy API key.
66
66
67
67
#### Response specification
68
68
@@ -90,7 +90,7 @@ The code can be derived by hashing the request body using the SHA256 algorithm t
90
90
| 400 | NO | The request contains errors and cannot be processed. Check the `message` field for details.
91
91
| 403 | MAYBE | Authentication failed. Check that you're supplying the correct `team`; that the team is present on GitHub and has admin access to your repository; that you're using the correct API key; and properly HMAC signing the request. |
92
92
| 404 | NO | Wrong URL. |
93
-
| 5xx | YES |NAIS deploy is having problems and is currently being fixed. Retry later. |
93
+
| 5xx | YES |Nais deploy is having problems and is currently being fixed. Retry later. |
flag.StringVar(&cfg.Cluster, "cluster", os.Getenv("CLUSTER"), "NAIS cluster to deploy into. (env CLUSTER)")
47
+
flag.StringVar(&cfg.Cluster, "cluster", os.Getenv("CLUSTER"), "Nais cluster to deploy into. (env CLUSTER)")
48
48
flag.StringVar(&cfg.DeployServerURL, "deploy-server", getEnv("DEPLOY_SERVER", DefaultDeployServer), "URL to API server. (env DEPLOY_SERVER)")
49
49
flag.BoolVar(&cfg.DryRun, "dry-run", getEnvBool("DRY_RUN", false), "Run templating, but don't actually make any requests. (env DRY_RUN)")
50
50
flag.StringVar(&cfg.Environment, "environment", os.Getenv("ENVIRONMENT"), "Environment for GitHub deployment. Autodetected from nais.yaml if not specified. (env ENVIRONMENT)")
0 commit comments