Skip to content

Commit

Permalink
feat: support data transfer protection in HDFS artifacts (#13482) (#1…
Browse files Browse the repository at this point in the history
…3483)

Signed-off-by: Injun Baeg <[email protected]>
  • Loading branch information
Looka149 authored Sep 10, 2024
1 parent 88ebcdb commit 1b0f008
Show file tree
Hide file tree
Showing 34 changed files with 1,319 additions and 705 deletions.
8 changes: 8 additions & 0 deletions api/jsonschema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/executor_swagger.md
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,7 @@ into the Pod's container.
| Name | Type | Go type | Required | Default | Description | Example |
|------|------|---------|:--------:| ------- |-------------|---------|
| addresses | []string| `[]string` | | | Addresses is accessible addresses of HDFS name nodes | |
| dataTransferProtection | string| `string` | | | DataTransferProtection is the protection level for HDFS data transfer.</br>It corresponds to the dfs.data.transfer.protection configuration in HDFS. | |
| force | boolean| `bool` | | | Force copies a file forcibly even if it exists | |
| hdfsUser | string| `string` | | | HDFSUser is the user to access HDFS file system.</br>It is ignored if either ccache or keytab is used. | |
| krbCCacheSecret | [SecretKeySelector](#secret-key-selector)| `SecretKeySelector` | | | | |
Expand Down
2 changes: 2 additions & 0 deletions docs/fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -3411,6 +3411,7 @@ HDFSArtifact is the location of an HDFS artifact
| Field Name | Field Type | Description |
|:----------:|:----------:|---------------|
|`addresses`|`Array< string >`|Addresses is accessible addresses of HDFS name nodes|
|`dataTransferProtection`|`string`|DataTransferProtection is the protection level for HDFS data transfer. It corresponds to the dfs.data.transfer.protection configuration in HDFS.|
|`force`|`boolean`|Force copies a file forcibly even if it exists|
|`hdfsUser`|`string`|HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used.|
|`krbCCacheSecret`|[`SecretKeySelector`](#secretkeyselector)|KrbCCacheSecret is the secret selector for Kerberos ccache Either ccache or keytab can be set to use Kerberos.|
Expand Down Expand Up @@ -4194,6 +4195,7 @@ HDFSArtifactRepository defines the controller configuration for an HDFS artifact
| Field Name | Field Type | Description |
|:----------:|:----------:|---------------|
|`addresses`|`Array< string >`|Addresses is accessible addresses of HDFS name nodes|
|`dataTransferProtection`|`string`|DataTransferProtection is the protection level for HDFS data transfer. It corresponds to the dfs.data.transfer.protection configuration in HDFS.|
|`force`|`boolean`|Force copies a file forcibly even if it exists|
|`hdfsUser`|`string`|HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used.|
|`krbCCacheSecret`|[`SecretKeySelector`](#secretkeyselector)|KrbCCacheSecret is the secret selector for Kerberos ccache Either ccache or keytab can be set to use Kerberos.|
Expand Down
2 changes: 2 additions & 0 deletions examples/hdfs-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
path: "/tmp/argo/foo"
hdfsUser: root
force: true
# dataTransferProtection: authentication
# krbCCacheSecret:
# name: krb
# key: krb5cc_0
Expand All @@ -63,6 +64,7 @@ spec:
path: "/tmp/argo/foo"
hdfsUser: root
force: true
# dataTransferProtection: authentication
# krbCCacheSecret:
# name: krb
# key: krb5cc_0
Expand Down
32 changes: 32 additions & 0 deletions manifests/base/crds/full/argoproj.io_clusterworkflowtemplates.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions manifests/base/crds/full/argoproj.io_cronworkflows.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1b0f008

Please sign in to comment.