Skip to content

Commit

Permalink
Merge pull request #488 from truefoundry/truefoundry-version-0.4.11
Browse files Browse the repository at this point in the history
[CI] Publish truefoundry to version 0.4.11
  • Loading branch information
shubhamrai1993 authored Aug 1, 2024
2 parents e65cebd + 5066e16 commit f83e2d5
Show file tree
Hide file tree
Showing 35 changed files with 632 additions and 179 deletions.
6 changes: 3 additions & 3 deletions charts/truefoundry/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies:
- name: tfy-configs
repository: https://truefoundry.github.io/infra-charts
version: 0.1.0-rc.8
version: 0.1.0-rc.12
- name: nats
repository: https://nats-io.github.io/k8s/helm/charts/
version: 0.19.1
Expand All @@ -11,5 +11,5 @@ dependencies:
- name: tfy-buildkitd-service
repository: https://truefoundry.github.io/infra-charts/
version: 0.1.3
digest: sha256:cb3b7e07cc70d408f91797d338d7d7d4b990eb74823342a70b242984a4adce40
generated: "2024-06-21T10:57:48.48025+01:00"
digest: sha256:e0a953bb0600281d896ae76eab004b871db9a3cd1ada83882cab10a28aeb8e95
generated: "2024-07-17T18:39:59.745326+05:30"
4 changes: 2 additions & 2 deletions charts/truefoundry/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: v2
name: truefoundry
version: 0.4.6
version: 0.4.11
description: "Truefoundry applications"
maintainers:
- name: truefoundry
dependencies:
- condition: servicefoundryServer.enabled
name: tfy-configs
repository: https://truefoundry.github.io/infra-charts
version: 0.1.0-rc.8
version: 0.1.0-rc.12
- condition: nats.enabled
name: nats
repository: https://nats-io.github.io/k8s/helm/charts/
Expand Down
76 changes: 63 additions & 13 deletions charts/truefoundry/README.md

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions charts/truefoundry/templates/mlfoundry-server/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.mlfoundryServer.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -19,8 +20,16 @@ spec:
{{- include "mlfoundry-server.labels" . | nindent 8 }}
spec:
serviceAccountName: {{ include "mlfoundry-server.serviceAccountName" . }}
{{- with .Values.mlfoundryServer.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: "mlfoundry-server"
{{- with .Values.mlfoundryServer.securityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
{{- include "mlfoundry-server.env" . | trim | nindent 12 }}
image: "{{ .Values.mlfoundryServer.imageRepository }}:{{ .Values.mlfoundryServer.imageTag }}"
Expand Down Expand Up @@ -72,3 +81,4 @@ spec:
{{- if .Values.mlfoundryServer.tolerations }}
{{- .Values.mlfoundryServer.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/truefoundry/templates/mlfoundry-server/service.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.mlfoundryServer.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand All @@ -11,3 +12,4 @@ spec:
protocol: TCP
name: http
selector: {{- include "mlfoundry-server.selectorLabels" . | nindent 4 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.mlfoundryServer.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand All @@ -14,3 +15,4 @@ imagePullSecrets:
{{- else }}
- name: truefoundry-image-pull-secret
{{- end }}
{{- end }}
10 changes: 10 additions & 0 deletions charts/truefoundry/templates/servicefoundry-server/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.servicefoundryServer.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -19,8 +20,16 @@ spec:
{{- include "servicefoundry-server.labels" . | nindent 8 }}
spec:
serviceAccountName: {{ include "servicefoundry-server.serviceAccountName" . }}
{{- with .Values.servicefoundryServer.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: "servicefoundry-server"
{{- with .Values.servicefoundryServer.securityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
{{- include "servicefoundry-server.env" . | trim | nindent 12 }}
image: "{{ .Values.servicefoundryServer.imageRepository }}:{{ .Values.servicefoundryServer.imageTag }}"
Expand Down Expand Up @@ -60,3 +69,4 @@ spec:
{{- if .Values.servicefoundryServer.tolerations }}
{{- .Values.servicefoundryServer.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.servicefoundryServer.rbac.enabled -}}
{{- if and .Values.servicefoundryServer.rbac.enabled .Values.servicefoundryServer.enabled -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.servicefoundryServer.rbac.enabled -}}
{{- if and .Values.servicefoundryServer.rbac.enabled .Values.servicefoundryServer.enabled -}}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.servicefoundryServer.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand All @@ -12,3 +13,4 @@ spec:
name: http
selector:
{{- include "servicefoundry-server.selectorLabels" . | nindent 4 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.servicefoundryServer.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand All @@ -14,3 +15,4 @@ imagePullSecrets:
{{- else }}
- name: truefoundry-image-pull-secret
{{- end }}
{{- end }}
10 changes: 10 additions & 0 deletions charts/truefoundry/templates/sfy-manifest-service/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.sfyManifestService.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -19,8 +20,16 @@ spec:
{{- include "sfy-manifest-service.labels" . | nindent 8 }}
spec:
serviceAccountName: {{ include "sfy-manifest-service.serviceAccountName" . }}
{{- with .Values.sfyManifestService.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: "sfy-manifest-service"
{{- with .Values.sfyManifestService.securityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
{{- include "sfy-manifest-service.env" . | trim | nindent 12 }}
image: "{{ .Values.sfyManifestService.imageRepository }}:{{ .Values.sfyManifestService.imageTag }}"
Expand Down Expand Up @@ -60,3 +69,4 @@ spec:
{{- if .Values.sfyManifestService.tolerations }}
{{- .Values.sfyManifestService.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.sfyManifestService.enabled }}
apiVersion: v1
kind: Service
metadata:
Expand All @@ -12,3 +13,4 @@ spec:
name: http
selector:
{{- include "sfy-manifest-service.selectorLabels" . | nindent 4 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.sfyManifestService.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand All @@ -14,3 +15,4 @@ imagePullSecrets:
{{- else }}
- name: truefoundry-image-pull-secret
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.tfyBuild.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
Expand All @@ -9,4 +10,5 @@ roleRef:
subjects:
- kind: ServiceAccount
namespace: {{ .Release.Namespace }}
name: {{ include "tfy-build.serviceAccountName" . }}
name: {{ include "tfy-build.serviceAccountName" . }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.tfyBuild.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
Expand All @@ -9,4 +10,5 @@ rules:
- workflowtaskresults
verbs:
- create
- patch
- patch
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.tfyBuild.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand All @@ -12,3 +13,4 @@ imagePullSecrets:
{{- else }}
- name: truefoundry-image-pull-secret
{{- end }}
{{- end }}
Loading

0 comments on commit f83e2d5

Please sign in to comment.