Azure / k8s-deploy

GitHub Action for deploying to Kubernetes clusters
MIT License
252 stars 103 forks source link

Bug: Deploying manifests ERROR: Undefined #322

Open santhoshkumar-ext opened 3 months ago

santhoshkumar-ext commented 3 months ago

What happened?

I'm trying to deploy the manifests using the latest action I'm passing the required manifests file and IMAGE URL in the action itself , it is showing unable to find the manifest files under tmp directory My Action defined as

Version

Runner

self-hosted

Relevant log output

Run Azure/k8s-deploy@v5.0.0 with: resource-group: name: action: deploy strategy: basic private-cluster: true namespace: insights-copilot-api manifests: k8-manifests/insights-copilot-api-deployment.yaml k8-manifests/insights-copilot-api-service.yaml

images: $ACR_URL/$DEPLOYMENT_NAME:$***GITHUB_SHA:0:5***-$(date +%Y-%m-%d)

pull-images: true
route-method: service
version-switch-buffer: 0
traffic-split-method: pod
percentage: 0
force: false
token: ***
annotate-resources: true
annotate-namespace: true
skip-tls-verify: false

env: AZURE_CREDENTIALS: ACR_URL: ACR_USER_NAME: ACR_PASSWORD: IMAGE_TAG: alpha AKS_CLUSTER_NAME: RG_NAME: DEPLOYMENT_NAME: insights-copilot-api K8S_NAMESPACE: insights-copilot-api AZURE_HTTP_USER_AGENT: AZUREPS_HOST_ENVIRONMENT: KUBECONFIG: /home/c689555/actions-runner/insights-copilot-backend/temp/kubeconfig1716304524173 KUBE_CONFIG_PATH: /home/c689555/actions-runner/insights-copilot-backend/_temp/kubeconfig_1716304524173 Deploying manifests the path "/tmp/insights-copilot-api-deployment.yaml" does not exist the path "/tmp/insights-copilot-api-service.yaml" does not exist

Error: Error: undefined

davdav3 commented 1 month ago

Hi were you able to resolve this?