diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-13 03:07:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-13 03:07:50 +0300 |
commit | 8dc1e72e2b5cb6112d5468194580edb186de4659 (patch) | |
tree | f77ab94b3a74dcb06c97ce1ea54a6f89eaeb26bf /doc | |
parent | 0df696c5f77936ecae5ea3c3f17b3e885d7dea0b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/incoming_email.md | 12 | ||||
-rw-r--r-- | doc/api/scim.md | 3 | ||||
-rw-r--r-- | doc/development/emails.md | 3 | ||||
-rw-r--r-- | doc/user/clusters/applications.md | 24 | ||||
-rw-r--r-- | doc/user/project/integrations/prometheus.md | 7 | ||||
-rw-r--r-- | doc/user/project/service_desk.md | 1 |
6 files changed, 38 insertions, 12 deletions
diff --git a/doc/administration/incoming_email.md b/doc/administration/incoming_email.md index dcc590bea9c..9efee00e468 100644 --- a/doc/administration/incoming_email.md +++ b/doc/administration/incoming_email.md @@ -182,6 +182,9 @@ gitlab_rails['incoming_email_start_tls'] = false gitlab_rails['incoming_email_mailbox_name'] = "inbox" # The IDLE command timeout. gitlab_rails['incoming_email_idle_timeout'] = 60 + +# Whether to expunge (permanently remove) messages from the mailbox when they are deleted after delivery +gitlab_rails['incoming_email_expunge_deleted'] = true ``` Example for source installs: @@ -214,6 +217,9 @@ incoming_email: mailbox: "inbox" # The IDLE command timeout. idle_timeout: 60 + + # Whether to expunge (permanently remove) messages from the mailbox when they are deleted after delivery + expunge_deleted: true ``` #### Gmail @@ -249,6 +255,9 @@ gitlab_rails['incoming_email_start_tls'] = false gitlab_rails['incoming_email_mailbox_name'] = "inbox" # The IDLE command timeout. gitlab_rails['incoming_email_idle_timeout'] = 60 + +# Whether to expunge (permanently remove) messages from the mailbox when they are deleted after delivery +gitlab_rails['incoming_email_expunge_deleted'] = true ``` Example for source installs: @@ -281,6 +290,9 @@ incoming_email: mailbox: "inbox" # The IDLE command timeout. idle_timeout: 60 + + # Whether to expunge (permanently remove) messages from the mailbox when they are deleted after delivery + expunge_deleted: true ``` #### Microsoft Exchange Server diff --git a/doc/api/scim.md b/doc/api/scim.md index c0650b8a0aa..3daa243908a 100644 --- a/doc/api/scim.md +++ b/doc/api/scim.md @@ -4,6 +4,9 @@ The SCIM API implements the [the RFC7644 protocol](https://tools.ietf.org/html/rfc7644). +CAUTION: **Caution:** +This API is for internal system use for connecting with a SCIM provider. While it can be used directly, it is subject to change without notice. + NOTE: **Note:** [Group SSO](../user/group/saml_sso/index.md) must be enabled for the group. For more information, see [SCIM setup documentation](../user/group/saml_sso/scim_setup.md#requirements). diff --git a/doc/development/emails.md b/doc/development/emails.md index 01e39a13e4d..e6e2ea8aae7 100644 --- a/doc/development/emails.md +++ b/doc/development/emails.md @@ -57,6 +57,9 @@ See the [Rails guides](https://guides.rubyonrails.org/action_mailer_basics.html# mailbox: "inbox" # The IDLE command timeout. idle_timeout: 60 + + # Whether to expunge (permanently remove) messages from the mailbox when they are deleted after delivery + expunge_deleted: false ``` As mentioned, the part after `+` is ignored, and this will end up in the mailbox for `gitlab-incoming@gmail.com`. diff --git a/doc/user/clusters/applications.md b/doc/user/clusters/applications.md index 697d62c9d79..4ef02895d76 100644 --- a/doc/user/clusters/applications.md +++ b/doc/user/clusters/applications.md @@ -505,20 +505,23 @@ Log data is automatically deleted after 30 days using [Curator](https://www.elas To enable log shipping: +1. Ensure your cluster contains at least 3 nodes of instance types larger than + `f1-micro`, `g1-small`, or `n1-standard-1`. 1. Navigate to **{cloud-gear}** **Operations > Kubernetes**. 1. In **Kubernetes Cluster**, select a cluster. 1. In the **Applications** section, find **Elastic Stack** and click **Install**. NOTE: **Note:** -The [`stable/elastic-stack`](https://github.com/helm/charts/tree/master/stable/elastic-stack) +The [`gitlab/elastic-stack`](https://gitlab.com/gitlab-org/charts/elastic-stack) chart is used to install this application with a [`values.yaml`](https://gitlab.com/gitlab-org/gitlab/blob/master/vendor/elastic_stack/values.yaml) file. NOTE: **Note:** -The chart will deploy 5 Elasticsearch nodes: 2 masters, 2 data and 1 client node, -with resource requests totalling 0.125 CPU and 4.5GB RAM. Each data node requests 1.5GB of memory, -which makes it incompatible with clusters of `f1-micro` and `g1-small` instance types. +The chart deploys 3 identical Elasticsearch pods which can't be colocated, and each +require 1 CPU and 2 GB of RAM, making them incompatible with clusters containing +fewer than 3 nodes or consisting of `f1-micro`, `g1-small`, `n1-standard-1`, or +`*-highcpu-2` instance types. NOTE: **Note:** The Elastic Stack cluster application is intended as a log aggregation solution and is not related to our @@ -542,20 +545,23 @@ logstash: kibana: enabled: true - env: - ELASTICSEARCH_HOSTS: http://elastic-stack-elasticsearch-client.gitlab-managed-apps.svc.cluster.local:9200 + elasticsearchHosts: http://elastic-stack-elasticsearch-master.gitlab-managed-apps.svc.cluster.local:9200 + +elasticseach-curator: + enabled: false ``` Then install it on your cluster: ```shell -helm install --name kibana stable/elastic-stack --values kibana.yml +helm repo add gitlab https://charts.gitlab.io +helm install --name kibana gitlab/elastic-stack --values kibana.yml ``` To access Kibana, forward the port to your local machine: ```shell -kubectl port-forward svc/kibana 5601:443 +kubectl port-forward svc/kibana 5601:5601 ``` Then, you can visit Kibana at `http://localhost:5601`. @@ -1069,7 +1075,7 @@ You can check the default [`values.yaml`](https://gitlab.com/gitlab-org/gitlab/- You can customize the installation of Elastic Stack by defining `.gitlab/managed-apps/elastic-stack/values.yaml` file in your cluster management project. Refer to the -[chart](https://github.com/helm/charts/blob/master/stable/elastic-stack/values.yaml) for the +[chart](https://gitlab.com/gitlab-org/charts/elastic-stack) for the available configuration options. NOTE: **Note:** diff --git a/doc/user/project/integrations/prometheus.md b/doc/user/project/integrations/prometheus.md index 30f24a5cf3e..48164a53727 100644 --- a/doc/user/project/integrations/prometheus.md +++ b/doc/user/project/integrations/prometheus.md @@ -192,10 +192,11 @@ GitLab supports a limited set of [CI variables](../../../ci/variables/README.md) NOTE: **Note:** Variables for Prometheus queries must be lowercase. -There are 2 methods to specify a variable in a query or dashboard: +Variables can be specified using double curly braces, such as `"{{ci_environment_slug}}"` ([added](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20793) in GitLab 12.7). -1. Variables can be specified using double curly braces, such as `{{ci_environment_slug}}` ([added](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20793) in GitLab 12.7). -1. You can also enclose it in quotation marks with curly braces with a leading percent, for example `"%{ci_environment_slug}"`. This method is deprecated though and support will be [removed in the next major release](https://gitlab.com/gitlab-org/gitlab/issues/37990). +Support for the `"%{ci_environment_slug}"` format was +[removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/31581) in GitLab 13.0. +Queries that continue to use the old format will show no data. #### Query Variables from URL diff --git a/doc/user/project/service_desk.md b/doc/user/project/service_desk.md index b8aa797cb7b..d021f259015 100644 --- a/doc/user/project/service_desk.md +++ b/doc/user/project/service_desk.md @@ -151,6 +151,7 @@ service_desk_email: log_path: "log/mailroom.log" mailbox: "inbox" idle_timeout: 60 + expunge_deleted: true ``` In this case, suppose the `mygroup/myproject` project Service Desk settings has the project name |