Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support data transfer protection in HDFS artifacts. Fixes #13482 #13483

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading