confluent flink artifact update
Description
Update the labels of a Flink artifact in Confluent Platform without uploading new content.
confluent flink artifact update <name> [flags]
Flags
--environment string REQUIRED: Name of the Flink environment.
--label strings A comma-separated list of "key=value" label pairs. Replaces all existing labels, removing any that are not listed; omit the flag to leave existing labels unchanged.
--clear-labels Remove all labels from the Flink artifact.
--url string Base URL of the Confluent Manager for Apache Flink (CMF). Environment variable "CONFLUENT_CMF_URL" may be set in place of this flag.
--client-key-path string Path to client private key for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_KEY_PATH" may be set in place of this flag.
--client-cert-path string Path to client cert to be verified by Confluent Manager for Apache Flink. Include for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_CERT_PATH" may be set in place of this flag.
--certificate-authority-path string Path to a PEM-encoded Certificate Authority to verify the Confluent Manager for Apache Flink connection. Environment variable "CONFLUENT_CMF_CERTIFICATE_AUTHORITY_PATH" may be set in place of this flag.
-o, --output string Specify the output format as "human", "json", or "yaml". (default "human")
Global Flags
-h, --help Show help for this command.
--unsafe-trace Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, and -vvvv for trace).
Examples
Replace the labels of Flink artifact “my-udf.jar” in the environment “my-environment”.
confluent flink artifact update my-udf.jar --label owner=team-a,tier=gold --environment my-environment
Remove all labels from Flink artifact “my-udf.jar” in the environment “my-environment”.
confluent flink artifact update my-udf.jar --clear-labels --environment my-environment
See Also
confluent flink artifact - Manage Flink UDF artifacts in Confluent Platform.