-
-
Notifications
You must be signed in to change notification settings - Fork 309
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(helm): create helm charts with script to update generated.yaml #358
Conversation
Hi @0xj4f , thank you for your effort! I agree that most users will have an own Can we add a feature toggle like
(not validated if it would work). I also feel that a static added file |
Hi @wurstbrot, I just tested your request to make helm download the generated.yaml, but It's not working. apiVersion: v1
kind: ConfigMap
metadata:
name: generated-config
namespace: {{ .Values.namespace }}
data:
generated.yaml: |
{{- if .Values.customContentGenerated }}
{{ .Files.Get .Values.customGeneratedFilePath | indent 6 }}
{{- else }}
{{ tpl (.Files.Get "https://raw.githubusercontent.com/devsecopsmaturitymodel/DevSecOps-MaturityModel-data/refs/heads/main/src/assets/YAML/generated/generated.yaml") . | indent 6 }}
{{- end }}
below is an output.yaml showing empty generated.yaml after doing would you like if I just update the initContainer to download the generated.yaml inside and make the url an ENV variable but the default value will be at |
Hi @0xj4f, I thought about pushing the generated.yaml from the other repo in an action. But to download it in the init container (e.g. if an env. var like |
Just thought about it. I think we need an env like |
Hi @0xj4f, should we keep this PR open, merge it or close it? Kind regards |
Could you just try to explain the use case this PR is resolving, @0xj4f? I don't want to derail this PR, but I have been think about the At the moment it is hard to get the latest updated version from DSOMM-data, without overriding your teams' status, progression and provided evidence.
|
This PR has been automatically marked as |
This PR was closed because it has been stalled for 20 days with no activity. |
values.yaml
holds the values for meta.yaml, change the team values according to your composition.an init container will automatically update generated.yaml on runtime from the meta.yaml
scripts/update_teams.py
Quick test