[ 
https://issues.apache.org/jira/browse/FLINK-27491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matyas Orhidi updated FLINK-27491:
----------------------------------
    Fix Version/s:     (was: kubernetes-operator-1.4.0)

> Support env replacement in flink-kubernetes-operator CR
> -------------------------------------------------------
>
>                 Key: FLINK-27491
>                 URL: https://issues.apache.org/jira/browse/FLINK-27491
>             Project: Flink
>          Issue Type: New Feature
>          Components: Kubernetes Operator, Runtime / Configuration
>            Reporter: Yang Wang
>            Priority: Major
>              Labels: pull-request-available
>
> Flink deployment resources support env interpolation natively using $() 
> syntax[1]. Users expected this to "just work" like other resources when using 
> the operator, but it does not.
> It would be a great addition, simplifying job startup decision-making while 
> following existing conventions.
>  
>  
> {code:java}
> job:
>   jarURI: local:///my.jar
>   entryClass: my.JobMainKt
>   args:
>     - "--kafka.bootstrap.servers"
>     - "my.kafka.host:9093"
>     - "--kafka.sasl.username"
>     - "$(KAFKA_SASL_USERNAME)"
>     - "--kafka.sasl.password"
>     - "$(KAFKA_SASL_PASSWORD)" {code}
>  
> [1]. 
> [https://kubernetes.io/docs/tasks/inject-data-application/_print/#use-environment-variables-to-define-arguments]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to