Create custom K8s objects
This guide covers creating custom k8s objects like service accounts, secrets, config maps, etc. in your workspace.
-
Open
New Deployment
Form. SelectHelm
from the left navbar and then select yourworkspace
-
Fill out the form with the following input:
-
Name: a readable name for the group of objects
-
Helm repository URL: https://truefoundry.github.io/infra-charts/
-
Chart name: tfy-manifests-template
-
Version: 0.2.0
- Add the objects in values as an array of manifests. E.g.
manifests:
- kind: ServiceAccount
apiVersion: v1
metadata:
name: test-sa
namespace: workspace-2
Note: the k8s resource can be created in any namespace by overwriting in the spec of the k8s object. If not mentioned, it will use the selected workspace by default.
Updated 2 months ago