Skip to content

Commit fae826f

Browse files
authored
Merge branch 'master' into feat-oss-2.7.12-release
2 parents f8f48d4 + 749c8a4 commit fae826f

File tree

15 files changed

+49
-127
lines changed

15 files changed

+49
-127
lines changed

content/influxdb3/clustered/admin/tokens/database/revoke 2.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

content/influxdb3/clustered/admin/tokens/database/revoke.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ aliases:
1919
---
2020

2121
Use the [`influxctl token revoke` command](/influxdb3/clustered/reference/cli/influxctl/token/revoke/)
22-
to revoke a database token from your InfluxDB cluster and disable
22+
to revoke a database token from your {{< product-name omit=" Clustered" >}} cluster and disable
2323
all permissions associated with the token.
2424

2525
1. If you haven't already, [download and install the `influxctl` CLI](/influxdb3/clustered/reference/cli/influxctl/#download-and-install-influxctl).

content/influxdb3/enterprise/admin/tokens/admin/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ list_code_example: |
1616
```
1717
#### HTTP API
1818
```bash
19-
curl -X POST "http://{{< influxdb/host >}}/api/v3/enterprise/configure/token/admin" \
19+
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin" \
2020
--header 'Accept: application/json' \
2121
--header 'Content-Type: application/json'
2222
```

content/shared/influxdb3-admin/tokens/admin/create.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,12 @@ across sessions, assign the token string to the `INFLUXDB3_AUTH_TOKEN` environme
3535
{{% tab-content %}}
3636
Use the following endpoint to create an admin token:
3737

38-
{{% show-in "core" %}}
3938
{{% api-endpoint method="POST" endpoint="/api/v3/configure/token/admin" api-ref="/influxdb3/version/api/v3/#operation/PostCreateAdminToken" %}}
4039

4140
```bash
4241
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin" \
4342
--header 'Accept: application/json' \
4443
--header 'Content-Type: application/json'
4544
```
46-
{{% /show-in %}}
47-
{{% show-in "enterprise" %}}
48-
{{% api-endpoint method="POST" endpoint="/api/v3/enterprise/configure/token/admin" api-ref="/influxdb3/version/api/v3/#operation/PostCreateAdminToken" %}}
49-
50-
```bash
51-
curl -X POST "http://{{< influxdb/host >}}/api/v3/{{< product-key >}}/configure/token/admin" \
52-
--header 'Accept: application/json' \
53-
--header 'Content-Type: application/json'
54-
```
55-
{{% /show-in %}}
5645
{{% /tab-content %}}
5746
{{< /tabs-wrapper >}}

content/shared/influxdb3-admin/tokens/admin/regenerate.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,36 +56,18 @@ The output contains the new token string and InfluxDB deactivates the previous t
5656
<!----------------------------BEGIN HTTP API----------------------------------->
5757
Use the following HTTP API endpoint:
5858

59-
{{% show-in "core" %}}
6059
{{% api-endpoint method="POST" endpoint="/api/v3/configure/token/admin/regenerate" api-ref="/influxdb3/version/api/v3/configure/token/admin/regenerate" %}}
61-
{{% /show-in %}}
62-
63-
{{% show-in "enterprise" %}}
64-
{{% api-endpoint method="POST" endpoint="/api/v3/enterprise/configure/token/admin/regenerate" api-ref="/influxdb3/version/api/v3/enterprise/configure/token/admin" %}}
65-
{{% /show-in %}}
6660

6761
In your request, send an `Authorization` header with your current admin token string
6862
--for example:
6963

70-
{{% show-in "core" %}}
71-
{{% code-placeholders "ADMIN_TOKEN" %}}
72-
```bash
73-
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin" \
74-
--header "Authorization: Bearer ADMIN_TOKEN" \
75-
--header "Accept: application/json"
76-
```
77-
{{% /code-placeholders %}}
78-
{{% /show-in %}}
79-
80-
{{% show-in "enterprise" %}}
8164
{{% code-placeholders "ADMIN_TOKEN" %}}
8265
```bash
83-
curl -X POST "http://{{< influxdb/host >}}/api/v3/enterprise/configure/token/admin" \
66+
curl -X POST "http://{{< influxdb/host >}}/api/v3/configure/token/admin/regenerate" \
8467
--header "Authorization: Bearer ADMIN_TOKEN" \
8568
--header "Accept: application/json"
8669
```
8770
{{% /code-placeholders %}}
88-
{{% /show-in %}}
8971

9072
In your command, replace {{% code-placeholder-key %}}`ADMIN_TOKEN`{{% /code-placeholder-key %}} with the current token string.
9173

data/products.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ influxdb3_core:
66
versions: [core]
77
list_order: 2
88
latest: core
9-
latest_patch: 3.0.1
9+
latest_patch: 3.0.3
1010
placeholder_host: localhost:8181
1111
ai_sample_questions:
1212
- How do I install and run InfluxDB 3 Core?
@@ -21,7 +21,7 @@ influxdb3_enterprise:
2121
versions: [enterprise]
2222
list_order: 2
2323
latest: enterprise
24-
latest_patch: 3.0.1
24+
latest_patch: 3.0.3
2525
placeholder_host: localhost:8181
2626
ai_sample_questions:
2727
- How do I install and run InfluxDB 3 Enterprise?

layouts/_default/page-list.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,49 +8,49 @@
88
{{- if $index -}},{{- end }}
99
{
1010
"name": {{ .Name | jsonify }},
11-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
11+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
1212
"children": [
1313
{{- range $index, $entry := .Children -}}
1414
{{- if $index -}},{{- end }}
1515
{
1616
"name": {{ .Name | jsonify }},
17-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
17+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
1818
"children": [
1919
{{- range $index, $entry := .Children -}}
2020
{{- if $index -}},{{- end }}
2121
{
2222
"name": {{ .Name | jsonify }},
23-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
23+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
2424
"children": [
2525
{{- range $index, $entry := .Children -}}
2626
{{- if $index -}},{{- end }}
2727
{
2828
"name": {{ .Name | jsonify }},
29-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
29+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
3030
"children": [
3131
{{- range $index, $entry := .Children -}}
3232
{{- if $index -}},{{- end }}
3333
{
3434
"name": {{ .Name | jsonify }},
35-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
35+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
3636
"children": [
3737
{{- range $index, $entry := .Children -}}
3838
{{- if $index -}},{{- end }}
3939
{
4040
"name": {{ .Name | jsonify }},
41-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
41+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
4242
"children": [
4343
{{- range $index, $entry := .Children -}}
4444
{{- if $index -}},{{- end }}
4545
{
4646
"name": {{ .Name | jsonify }},
47-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
47+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
4848
"children": [
4949
{{- range $index, $entry := .Children -}}
5050
{{- if $index -}},{{- end }}
5151
{
5252
"name": {{ .Name | jsonify }},
53-
"url": {{ absURL (cond (isset .Params "url") .Params.url .URL) | jsonify }},
53+
"url": {{ absURL (default .URL .Params.url) | jsonify }},
5454
"children": [
5555
{{ range .Children }}
5656
{{ end }}

layouts/partials/article/flux-contrib.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
{{ else if eq .Kind "section" }}
1515
<div class="important block">
16-
{{ $packageTitle := cond (isset .Params "list_title") $.Params.list_title .Title }}
16+
{{ $packageTitle := default .Title .Params.list_title }}
1717
{{ $packageName := replaceRE `^(.*)( package)` "<code>$1</code>$2" $packageTitle }}
1818
<p>
1919
The {{ $packageName | safeHTML }} is a user-contributed package

layouts/partials/article/flux-experimental.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
{{ else if eq .Kind "section" }}
1515
<div class="important block">
16-
{{ $packageTitle := cond (isset .Params "list_title") $.Params.list_title .Title }}
16+
{{ $packageTitle := default .Title .Params.list_title }}
1717
{{ $packageName := replaceRE `^(.*)( package)` "<code>$1</code>$2" $packageTitle }}
1818
<p>
1919
The {{ $packageName | safeHTML }} is experimental and <a href="{{ $expRiskURL }}">subject to change at any time</a>.

layouts/partials/article/tags.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
{{ $product := index $productPathData 0 }}
33
{{ $version := index $productPathData 1 }}
44
{{ $tagSet := print $product "/" $version "/tags" }}
5-
{{ if isset .Params $tagSet }}
5+
{{ with .Param $tagSet }}
66
<div class="tags">
7-
{{ range .Param $tagSet }}
7+
{{ range . }}
88
{{ $name := . }}
99
{{ with $.Site.GetPage (printf "/%s/%s" $tagSet ($name | urlize)) }}
1010
<a class="tag btn" href="{{ .RelPermalink }}">{{ $name }}</a>

0 commit comments

Comments
 (0)