Skip to content

Commit

Permalink
[CI] Publish inframold charts (#850)
Browse files Browse the repository at this point in the history
* [CI] Update inframold charts

* Update README.md with readme-generator-for-helm

Signed-off-by: innoavator <[email protected]>

* [CI] Update charts artifacts manifest files

Signed-off-by: innoavator <[email protected]>

---------

Signed-off-by: innoavator <[email protected]>
Co-authored-by: DeeAjayi <[email protected]>
Co-authored-by: innoavator <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 5ccb4a4 commit 2037f88
Show file tree
Hide file tree
Showing 59 changed files with 482 additions and 346 deletions.
2 changes: 1 addition & 1 deletion charts/tfy-k8s-aws-eks-inframold/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: tfy-k8s-aws-eks-inframold
version: 0.1.14
version: 0.1.15
description: "Inframold, the superchart that configure your cluster on aws for truefoundry."
maintainers:
- name: truefoundry
24 changes: 15 additions & 9 deletions charts/tfy-k8s-aws-eks-inframold/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Inframold, the superchart that configure your cluster on aws for truefoundry.
| Name | Description | Value |
| ------------------------------ | ------------------------------------------ | ------ |
| `metricsServer.enabled` | Flag to enable Metrics Server | `true` |
| `metricsServer.enabled` | Flag to enable Metrics Server | `true` |
| `metricsServer.valuesOverride` | Config override from default config values | `{}` |

### AWS parameters
Expand All @@ -71,6 +72,7 @@ Inframold, the superchart that configure your cluster on aws for truefoundry.
| `aws.karpenter.roleArn` | Role ARN for Karpenter | `""` |
| `aws.karpenter.instanceProfile` | Instance profile for Karpenter | `""` |
| `aws.karpenter.defaultZones` | Default zones list for Karpenter | `[]` |
| `aws.karpenter.webhook.enabled` | Flag to enable Karpenter webhook | `false` |
| `aws.karpenter.interruptionQueue` | Interruption queue name for Karpenter | `""` |
| `aws.karpenter.valuesOverride` | Config override from default config values | `{}` |
| `aws.awsEbsCsiDriver.enabled` | Flag to enable AWS EBS CSI Driver | `true` |
Expand Down Expand Up @@ -136,6 +138,7 @@ Inframold, the superchart that configure your cluster on aws for truefoundry.
| Name | Description | Value |
| ------------------------------ | ------------------------------------------ | ------ |
| `istio.enabled` | Flag to enable Istio | `true` |
| `istio.enabled` | Flag to enable Istio Base | `true` |
| `istio.base.valuesOverride` | Config override from default config values | `{}` |
| `istio.gateway.valuesOverride` | Config override from default config values | `{}` |

Expand Down Expand Up @@ -178,11 +181,12 @@ Inframold, the superchart that configure your cluster on aws for truefoundry.

### tfyAgent parameters

| Name | Description | Value |
| ------------------------- | ------------------------------------------ | ------ |
| `tfyAgent.enabled` | Flag to enable Tfy Agent | `true` |
| `tfyAgent.clusterToken` | cluster token | `""` |
| `tfyAgent.valuesOverride` | Config override from default config values | `{}` |
| Name | Description | Value |
| ----------------------------- | ------------------------------------------ | ------ |
| `tfyAgent.enabled` | Flag to enable Tfy Agent | `true` |
| `tfyAgent.clusterToken` | cluster token | `""` |
| `tfyAgent.valuesOverride` | Config override from default config values | `{}` |
| `tfyAgent.clusterTokenSecret` | Secret name for cluster token | `""` |

### elasti parameters

Expand All @@ -193,7 +197,9 @@ Inframold, the superchart that configure your cluster on aws for truefoundry.

### jspolicy parameters

| Name | Description | Value |
| ------------------------- | -------------------------------------------------------- | ------- |
| `jspolicy.enabled` | Flag to enable jspolicy. No policy is applied by default | `false` |
| `jspolicy.valuesOverride` | Config override from default config values | `{}` |
| Name | Description | Value |
| -------------------------------- | -------------------------------------------------------- | ------- |
| `jspolicy.enabled` | Flag to enable jspolicy. No policy is applied by default | `false` |
| `jspolicy.enabled` | Flag to enable jspolicy | `false` |
| `jspolicy.valuesOverride` | Config override from default config values | `{}` |
| `jspolicy.config.valuesOverride` | Config override from default config values | `{}` |
30 changes: 15 additions & 15 deletions charts/tfy-k8s-aws-eks-inframold/artifacts-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@
"details": {
"chart": "tfy-agent",
"repoURL": "https://truefoundry.github.io/infra-charts/",
"targetRevision": "0.2.42",
"targetRevision": "0.2.45",
"images": [
"tfy.jfrog.io/tfy-images/tfy-agent:abdd060d96379a09bed4d6c2ab7516a11e154bfa",
"tfy.jfrog.io/tfy-images/tfy-agent:90b1a98dd017206a85c0e3406c87560bd763703b",
"tfy.jfrog.io/tfy-images/tfy-agent-proxy:fcfb8e398eb01f05fb72cd9115b9ec69a89b9cce"
]
}
Expand Down Expand Up @@ -265,15 +265,15 @@
"type": "helm",
"details": {
"chart": "truefoundry",
"repoURL": "https://truefoundry.github.io/infra-charts",
"targetRevision": "0.15.0",
"repoURL": "oci://tfy.jfrog.io/tfy-helm",
"targetRevision": "0.16.2",
"images": [
"tfy.jfrog.io/tfy-private-images/mlfoundry-server:v0.12.0",
"tfy.jfrog.io/tfy-private-images/servicefoundry-server:v0.15.0",
"tfy.jfrog.io/tfy-private-images/sfy-manifest-service:v0.12.0",
"tfy.jfrog.io/tfy-private-images/mlfoundry-server:v0.13.0",
"tfy.jfrog.io/tfy-private-images/servicefoundry-server:v0.16.0",
"tfy.jfrog.io/tfy-private-images/sfy-manifest-service:v0.13.0",
"tfy.jfrog.io/tfy-private-images/tfy-controller:v0.9.0",
"tfy.jfrog.io/tfy-private-images/tfy-k8s-controller:v0.12.0",
"tfy.jfrog.io/tfy-private-images/truefoundry-frontend-app:v0.14.0",
"tfy.jfrog.io/tfy-private-images/tfy-k8s-controller:v0.13.0",
"tfy.jfrog.io/tfy-private-images/truefoundry-frontend-app:v0.15.2",
"tfy.jfrog.io/tfy-mirror/nats:2.10.22-alpine3.20",
"tfy.jfrog.io/tfy-mirror/natsio/nats-server-config-reloader:0.14.3",
"tfy.jfrog.io/tfy-mirror/natsio/prometheus-nats-exporter:0.15.0",
Expand Down Expand Up @@ -966,7 +966,7 @@
{
"type": "image",
"details": {
"registryURL": "tfy.jfrog.io/tfy-images/tfy-agent:abdd060d96379a09bed4d6c2ab7516a11e154bfa",
"registryURL": "tfy.jfrog.io/tfy-images/tfy-agent:90b1a98dd017206a85c0e3406c87560bd763703b",
"platforms": []
}
},
Expand Down Expand Up @@ -1210,21 +1210,21 @@
{
"type": "image",
"details": {
"registryURL": "tfy.jfrog.io/tfy-private-images/mlfoundry-server:v0.12.0",
"registryURL": "tfy.jfrog.io/tfy-private-images/mlfoundry-server:v0.13.0",
"platforms": []
}
},
{
"type": "image",
"details": {
"registryURL": "tfy.jfrog.io/tfy-private-images/servicefoundry-server:v0.15.0",
"registryURL": "tfy.jfrog.io/tfy-private-images/servicefoundry-server:v0.16.0",
"platforms": []
}
},
{
"type": "image",
"details": {
"registryURL": "tfy.jfrog.io/tfy-private-images/sfy-manifest-service:v0.12.0",
"registryURL": "tfy.jfrog.io/tfy-private-images/sfy-manifest-service:v0.13.0",
"platforms": []
}
},
Expand All @@ -1238,14 +1238,14 @@
{
"type": "image",
"details": {
"registryURL": "tfy.jfrog.io/tfy-private-images/tfy-k8s-controller:v0.12.0",
"registryURL": "tfy.jfrog.io/tfy-private-images/tfy-k8s-controller:v0.13.0",
"platforms": []
}
},
{
"type": "image",
"details": {
"registryURL": "tfy.jfrog.io/tfy-private-images/truefoundry-frontend-app:v0.14.0",
"registryURL": "tfy.jfrog.io/tfy-private-images/truefoundry-frontend-app:v0.15.2",
"platforms": []
}
},
Expand Down
2 changes: 1 addition & 1 deletion charts/tfy-k8s-aws-eks-inframold/templates/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
{{- end }}
{{- end }}
syncPolicy:
automated: { }
automated: {}
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
Expand Down
2 changes: 1 addition & 1 deletion charts/tfy-k8s-aws-eks-inframold/templates/jspolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
npm_config_registry: "https://tfy.jfrog.io/artifactory/api/npm/tfy-npm-registry-local"
{{- end }}
syncPolicy:
automated: { }
automated: {}
syncOptions:
- RespectIgnoreDifferences=true
- CreateNamespace=true
Expand Down
2 changes: 1 addition & 1 deletion charts/tfy-k8s-aws-eks-inframold/templates/keda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
{{- end }}
{{- end }}
syncPolicy:
automated: { }
automated: {}
syncOptions:
- RespectIgnoreDifferences=true
- CreateNamespace=true
Expand Down
7 changes: 3 additions & 4 deletions charts/tfy-k8s-aws-eks-inframold/templates/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,9 @@ spec:
receiver: tfy-agent
repeat_interval: 1h
receivers:
- name: tfy-agent
webhook_configs:
- url: http://tfy-agent.tfy-agent.svc.cluster.local:3000/alerts
send_resolved: true
{{- with .Values.prometheus.alertmanager.config.receivers -}}
{{ toYaml . | nindent 12 }}
{{- end }}
alertmanagerSpec:
resources:
requests:
Expand Down
9 changes: 5 additions & 4 deletions charts/tfy-k8s-aws-eks-inframold/templates/tfy-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
server: https://kubernetes.default.svc
project: tfy-apps
source:
targetRevision: 0.2.42
targetRevision: 0.2.45
repoURL: https://truefoundry.github.io/infra-charts/
chart: tfy-agent
helm:
Expand All @@ -23,9 +23,10 @@ spec:
{{ .Values.tfyAgent.valuesOverride | toYaml | nindent 8 }}
{{- else }}
config:
clusterToken: {{ .Values.tfyAgent.clusterToken}}
tenantName: {{ .Values.tenantName}}
controlPlaneURL: {{ .Values.controlPlaneURL}}
clusterToken: {{ .Values.tfyAgent.clusterToken }}
tenantName: {{ .Values.tenantName }}
controlPlaneURL: {{ .Values.controlPlaneURL }}
clusterTokenSecret: {{ .Values.tfyAgent.clusterTokenSecret }}
tfyAgent:
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
{{- end }}
project: tfy-apps
syncPolicy:
automated: { }
automated: {}
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
{{- end }}
project: tfy-apps
syncPolicy:
automated: { }
automated: {}
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
{{- end }}
project: tfy-apps
syncPolicy:
automated: { }
automated: {}
syncOptions:
- RespectIgnoreDifferences=true
- CreateNamespace=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ spec:
chart: tfy-karpenter
helm:
values: |-
{{- if .Values.aws.inferentia.valuesOverride }}
{{ .Values.aws.inferentia.valuesOverride | toYaml | nindent 8 }}
{{- if .Values.aws.karpenter.valuesOverride }}
{{ .Values.aws.karpenter.valuesOverride | toYaml | nindent 8 }}
{{- else }}
karpenter:
serviceAccount:
annotations:
eks.amazonaws.com/role-arn: {{ .Values.aws.karpenter.roleArn }}
webhook:
enabled: false
enabled: {{ .Values.aws.karpenter.webhook.enabled }}
settings:
clusterName: {{ .Values.clusterName }}
clusterEndpoint: {{ .Values.aws.karpenter.clusterEndpoint }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ spec:
targetRevision: 0.2.1
helm:
values: |-
{{- if .Values.metricsServer.valuesOverride }}
{{ .Values.metricsServer.valuesOverride | toYaml | nindent 8 }}
{{- if .Values.aws.inferentia.valuesOverride }}
{{ .Values.aws.inferentia.valuesOverride | toYaml | nindent 8 }}
{{- else }}
{}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ spec:
targetRevision: 0.2.0
helm:
values: |-
{{- if .Values.jspolicy.valuesOverride }}
{{ .Values.jspolicy.valuesOverride | toYaml | nindent 8 }}
{{- if .Values.jspolicy.config.valuesOverride }}
{{ .Values.jspolicy.config.valuesOverride | toYaml | nindent 8 }}
{{- else }}
{}
{{- end }}
syncPolicy:
automated: { }
automated: {}
syncOptions:
- RespectIgnoreDifferences=true
- CreateNamespace=true
Expand Down
16 changes: 8 additions & 8 deletions charts/tfy-k8s-aws-eks-inframold/templates/truefoundry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
server: https://kubernetes.default.svc
project: tfy-apps
source:
targetRevision: 0.15.0
repoURL: "https://truefoundry.github.io/infra-charts"
targetRevision: 0.16.2
repoURL: "tfy.jfrog.io/tfy-helm"
chart: truefoundry
helm:
values: |-
Expand All @@ -34,11 +34,11 @@ spec:
password: {{ .Values.truefoundry.database.password }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
devMode:
enabled: {{ .Values.truefoundry.devMode.enabled }}
Expand All @@ -51,7 +51,7 @@ spec:
enabled: true
{{- if .Values.truefoundry.virtualservice.hosts }}
hosts:
{{- range $v := .Values.truefoundry.virtualservice.hosts }}
{{- range $v := .Values.truefoundry.virtualservice.hosts }}
- {{ $v | quote }}
{{- end }}
{{- end }}
Expand All @@ -61,15 +61,15 @@ spec:
- {{ $v | quote }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
nats:
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{ toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
syncPolicy:
Expand Down
Loading

0 comments on commit 2037f88

Please sign in to comment.