https://garden.io logo
#🤖|ask-kapa
Hello , how can specify kubernetes manifests from a specific file in kubernetes deploy act
a

astonishing-tomato-18259

06/22/2023, 3:42 PM
Hello @microscopic-river-74022, how can specify kubernetes manifests from a specific file in kubernetes deploy action? lets say i have my deployment manifests in
manifests/deployment.yml
and i want to use that manifest file for kubernetes deploy action.
m

microscopic-river-74022

06/22/2023, 3:42 PM
Please stand by @astonishing-tomato-18259 as I search the knowledge base. We are experiencing especially high traffic right now and might take longer than usual. :wave:
---------------------- To specify Kubernetes manifests from a specific file in a Kubernetes deploy action, you can use the
files
directive in your Garden configuration. In your case, with the manifest file located at
manifests/deployment.yml
, you can configure the deploy action like this:
Copy code
yaml
kind: Deploy
type: kubernetes
name: your-deploy-name
spec:
  files:
    - manifests/deployment.yml
This will tell Garden to use the
manifests/deployment.yml
file for the Kubernetes deploy action. For more information, refer to the Garden documentation on referencing manifests (). ----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon: ----------------------
message has been deleted