Open tonirvega opened 1 day ago
# corpme-ovac-dev.yaml
---
name: ovac
chart:
name: my-umbrella
version: 1.0.0
repository: "azure.com/charts"
platform: "corpme-pro-aks"
type: kubernetes
source: Remote
valueFiles:
- github.com/mycode-repo-a
- github.com/mycode-repo-b
- github.com/mycode-repo-c
- github.com/mycode-repo-d
---
.github/
deployments/
corpme-pro-aks/
tenant/
ovac/
dev/
values.yaml
# state-ovac
cluster/
tenant/
env/
values.yaml
# state-aks
cluster/
namespaces/
networkpolicies/
app/
values.yaml
Motivation
We need to implement a new module in order to render an umbrella or simple chart to a wet repository target.
Requirements
Main interface
Run function:
<cluster>-<tenant>-<env>-<repository_caller|pr_number>
<cluster> <tenant> <env> <service-a> <service-b>...
RenderApp function:
CreatePr -> signed commits
RenderSysService
The auth secret must be a property of the struct
Final render structure