Option to add ignoreMissingValueFiles: true in application Resources
long-term
N
New Wildfowl
Option to add ignoreMissingValueFiles: true in application Resources
In Gitops, we are not getting an option to add ignoreMissingValueFiles: true in application Resources. Although Plain ArgoCD allows this.
It's not allowing us to create a flag for "ignoreMissingValueFiles: true"
this is a very important Flag for us and it's limiting our deployments.
Plain argoCD has this flag in the application resource very well. and we want the same in harness gitops as well.
a sample code example is here:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: "{{ $key }}"
namespace: argocd
labels:
name: "{{ $key }}"
spec:
project: just-test
sources:
- repoURL: https://github.com/blabla.git
targetRevision: "main"
path: this_is/where_the_values_file_is
helm:
ignoreMissingValueFiles: true
releaseName: test
parameters:
- name: secrets
value: "{{ $val.secrets }}"
Log In
Canny AI
Merged in a post:
Allow Helm Values files on Deploys to be Optional
W
Wealthy Chicken
When adding multiple values files to a service, we use expressions to build layered configuration, i.e.:
- Global Base values
- Per-Environment base values
- Per-Service base values
- Per-Environment & Service values
However the Harness services deployment requires all these files to exist today. What we'd like to do is be able to omit files that do not have any content/not create them. This ideally would present as an "optional: true" value/checkbox on the values file in the list, enabling us to allow files
not
to exist.Canny AI
Merged in a post:
Feature Request
U
Utrecht blue Sheep
Rohan Gupta
long-term
We are planning a similar capability for our Kubernetes and Helm swimlanes.
H
Horizon blue Grouse
I was told by Harness support to duplicate my service in this kind of situation :puke: this feature is needed for a platform that claims to make deployment easy.
Rohan Gupta
Hi Wealthy Chicken We are actually coming up with this capability with our Terraform and Tfvars capability. Terragrunt has this ability built in where users can specify var files as optional, and it will skip the ones it cannot find. Just so I'm with you. You will provide the required list of values.yaml and mark certain ones as optional so the fetch files won't fail?
W
Wealthy Chicken
Rohan Gupta: Yes, thats what we're after. 90% of these files that need to exist are empty (well, we have to put a comment in them otherwise it blows up if they're zero bytes, but even a zero-byte file is a waste of time)