Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Deploy Manifest from URL not working #328

Open
1 task done
tpcgold opened this issue Aug 21, 2024 · 0 comments
Open
1 task done

Bug: Deploy Manifest from URL not working #328

tpcgold opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tpcgold
Copy link

tpcgold commented Aug 21, 2024

What happened?

Deployment of a Manifest form a URL is not working correctly. e.g.:

      - name: Deploy Cert-Manager to AKS
        uses: Azure/k8s-deploy@v4
        with:
          manifests: |
            https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml
          namespace: cert-manager
          action: deploy

Version

  • I am using the latest version

Runner

GitHub Hosted in Private VNET Azure

Relevant log output

Run Azure/k8s-deploy@v5
with:
manifests: https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml

namespace: cert-manager
action: deploy
pull-images: true
strategy: basic
route-method: service
version-switch-buffer: 0
traffic-split-method: pod
percentage: 0
force: false
token: ***
annotate-resources: true
annotate-namespace: true
private-cluster: false
skip-tls-verify: false

env:
AZURE_HTTP_USER_AGENT:
AZUREPS_HOST_ENVIRONMENT:
KUBECONFIG: /home/runner/work/_temp/kubeconfig_1724237444055
KUBE_CONFIG_PATH: /home/runner/work/_temp/kubeconfig_1724237444055
Error: Error: Exception occurred while reading the file https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml: Error: encountered error trying to pull YAML from URL https://github.com/cert-manager/cert-manager/releases/download/v1.1[5](https://github.com/prosperity-tech/k8s-azure-IaC-OPS/actions/runs/10488441119/job/29050948994#step:6:5).3/cert-manager.yaml: failed to parse manifest from url https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml: no objects detected in manifest

@tpcgold tpcgold added the bug Something isn't working label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant