Skip to content
代码片段 群组 项目
未验证 提交 198f78d7 编辑于 作者: Phillip Wells's avatar Phillip Wells 提交者: GitLab
浏览文件

Merge branch 'nagyv-environments-api-example-value' into 'master'

Add example value to `flux_resource_path` field in the Environments API

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/171138



Merged-by: default avatarPhillip Wells <pwells@gitlab.com>
Approved-by: default avatarPhillip Wells <pwells@gitlab.com>
Co-authored-by: default avatarViktor Nagy (GitLab) <vnagy@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -207,7 +207,7 @@ POST /projects/:id/environments
| `tier` | string | no | The tier of the new environment. Allowed values are `production`, `staging`, `testing`, `development`, and `other`. |
| `cluster_agent_id` | integer | no | The cluster agent to associate with this environment. |
| `kubernetes_namespace` | string | no | The Kubernetes namespace to associate with this environment. |
| `flux_resource_path` | string | no | The Flux resource path to associate with this environment. |
| `flux_resource_path` | string | no | The Flux resource path to associate with this environment. This must be the full resource path. For example, `helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent`. |
```shell
curl --data "name=deploy&external_url=https://deploy.gitlab.example.com" \
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册