argoproj / argoproj/argo-cd

Possible to read jsonnet tla(s) from a file?

Open
#4,656 6 comments 1 reaction 0 assignees View on GitHub
component:git enhancement help-wanted
Dominant language
Go
Stars
24.2k
Forks
7.9k
Avg merge
1d 6h
Merged PRs (30d)
239

Description

jsonnet gives a way to read tla(s) from a file.
```
--ext-str-file = Read the string from the file
```
Also kubecfg gives this option:
```
--ext-str-file stringArray Read external variables with string values from files
```

Is this possible to do with argo-cd?
It would handy:
- CI commits/pushes a change of docker-tag to a properties file
- before syncing, argo-cd reads the properties file and updates its tla(s)
- sync app.

I am new to argoCD and not sure how this can be achieved with argo-CD?

Thanks,

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named. Start with the issue's --ext-str-file examples and identify the existing Argo CD Jsonnet TLA workflow, then define whether the result should document a supported configuration or scope an implementation for reading CI-updated files before sync.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.