Git Product home page Git Product logo

Comments (3)

JasonGhent avatar JasonGhent commented on June 15, 2024 1
--- a/sample/conf/charts/sample-app/templates/web.yaml
+++ b/sample/conf/charts/sample-app/templates/web.yaml
@@ -3,7 +3,7 @@
 {{- $name := printf "%s-%s" $app $component -}}

 {{- if .Values.app.domain }}
-apiVersion: networking.k8s.io/v1
+apiVersion: networking.k8s.io/v1beta1
 kind: Ingress
 metadata:
   name: "{{ $name }}"
@@ -19,10 +19,8 @@ spec:
           - path: /
             pathType: ImplementationSpecific
             backend:
-              service:
-                name: {{ $name }}
-                port:
-                  number: {{ .Values.app.port }}
+              serviceName: {{ $name }}
+              servicePort: {{ .Values.app.port }}

Same issue on m1 mba. This fixed it for me. Seems to have changed in a commit last month.

from k3d-demo.

iwilltry42 avatar iwilltry42 commented on June 15, 2024 1

Hi @murindwaz, thanks for opening this issue!
And thanks @JasonGhent for the provided patch 👍
This change was introduced to make the demo ready for k3s/k8s v1.20.x to use the stable API for Ingress.
Not sure, if it's worth putting a Capabilities switch in the chart to automatically switch between the API-Versions.. wdyt?

from k3d-demo.

murindwaz avatar murindwaz commented on June 15, 2024

Thanks, @iwilltry42 for this awesome tool.
For this question "Capabilities switch in the chart to automatically switch between the API-Versions" ~ I think It makes sense. If I understand well that would prevent changing the chart version every time there is a new one.

Also thanks @JasonGhent for a quick fix.

from k3d-demo.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.