Skip to content

Commit f842934

Browse files
authored
Fix descriptions of start_line and end_line common columns (#286)
1 parent 82db345 commit f842934

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/tables/kubernetes_{custom_resource_singular_name}.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Steampipe will automatically create the `kubernetes_certificate` table, which ca
151151
| creation_timestamp | timestamp with time zone | CreationTimestamp is a timestamp representing the server time when this object was created. |
152152
| dns_names | jsonb | A list of DNS subjectAltNames to be set on the Certificate. |
153153
| duration | text | The requested 'duration' (i.e. lifetime) of the Certificate. Defaults to 90 days. |
154-
| end_line | bigint | The path to the manifest file. |
154+
| end_line | bigint | Specifies the line number where the value is ended. |
155155
| ip_addresses | jsonb | A list of IP address subjectAltNames to be set on the Certificate. |
156156
| is_ca | boolean | IsCA will mark this Certificate as valid for certificate signing. |
157157
| issuer_ref | jsonb | A reference to the issuer for this certificate. |
@@ -163,7 +163,7 @@ Steampipe will automatically create the `kubernetes_certificate` table, which ca
163163
| renew_before | text | How long before the currently issued certificate's expiry cert-manager should renew the certificate. Default to 2/3 of the duration. |
164164
| secret_name | text | The name of the secret resource that will be automatically created and managed by this Certificate resource. |
165165
| source_type | text | The source of the resource. Possible values are: deployed and manifest. If the resource is fetched from the spec file the value will be manifest. |
166-
| start_line | bigint | The path to the manifest file. |
166+
| start_line | bigint | Specifies the line number where the value is located. |
167167
| uid | text | UID is the unique in time and space value for this object. |
168168
+--------------------+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
169169
```
@@ -333,4 +333,4 @@ from
333333
kubernetes_certificate
334334
where
335335
datetime('now') > datetime(not_after);
336-
```
336+
```

kubernetes/common_columns.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const (
1515
func manifestResourceColumns() []*plugin.Column {
1616
return []*plugin.Column{
1717
{Name: "path", Type: proto.ColumnType_STRING, Description: "The path to the manifest file.", Transform: transform.FromField("Path").Transform(transform.NullIfZeroValue)},
18-
{Name: "start_line", Type: proto.ColumnType_INT, Description: "The path to the manifest file.", Transform: transform.FromField("StartLine").NullIfZero()},
19-
{Name: "end_line", Type: proto.ColumnType_INT, Description: "The path to the manifest file.", Transform: transform.FromField("EndLine").NullIfZero()},
18+
{Name: "start_line", Type: proto.ColumnType_INT, Description: "Specifies the line number where the value is located.", Transform: transform.FromField("StartLine").NullIfZero()},
19+
{Name: "end_line", Type: proto.ColumnType_INT, Description: "Specifies the line number where the value is ended.", Transform: transform.FromField("EndLine").NullIfZero()},
2020
}
2121
}
2222

0 commit comments

Comments
 (0)