Comments (5)
@leecalcote I have understood the issue. I know to use go package "gopkg.in/yaml.v3" for parsing the manifest and ignore redundant YAML document boundary markers.
If kuberntes client-go library is preferable then I can complete the task using that as well. Please assign me.
from meshery.
Thanks for stepping up, @Dhanush0369 π @theBeginner86, please be aware of @Dhanush0369's impending activity here. // @MUzairS15
from meshery.
@leecalcote
Unless I'm mistaken, there might be some misunderstanding here.
Any user can very well import a manifest with multiple boundary markers ---
inside of it.
The issue you are facing is due to the use of manifests that has CRDs unrecognized by your Meshery Server, that is, missing registered components for Kustomize, ExternalSecret etc.
Secondly, there is are couple syntax error around line 892 that has misplacement of boundary marker.
// @Dhanush0369
from meshery.
For testing you can use the following manifest that has multiple boundary marker (including redundant ones). It works as expected.
apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app.kubernetes.io/name: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
---
apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app.kubernetes.io/name: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
---
---
apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app.kubernetes.io/name: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
---
apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app.kubernetes.io/name: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
---
---
apiVersion: v1
kind: Service
metadata:
name: my-service
spec:
selector:
app.kubernetes.io/name: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
from meshery.
Thank you for proving this. π
I wonder if @Dhanush0369 can help with other enhancements to support Kustomize.
from meshery.
Related Issues (20)
- [Components] Triple representation of node groups HOT 2
- Parent-child relationships for Sections donβt work
- [Docs] Improve code formatting for ALL code blocks
- [UI] Dashboard: Improve the presentation of resource data HOT 2
- [DEVOPS] unable to view the cluster resources on the dashboard HOT 3
- [DEVOPS] unable to view the cluster resources on the dashboard HOT 2
- [mesheryctl] New command exp connection HOT 3
- [mesheryctl] New command exp environment HOT 3
- [mesheryctl]: New command exp credential HOT 4
- [mesheryctl]: New command exp workspace. HOT 4
- Model Generation of Bitnami Charts
- [mesheryctl] Rename `pattern` to `design` command HOT 1
- Design page requires reload to reflect changes made in catalog data from info modal HOT 6
- [Bug]: Multiple orgs are showns in spaces selector "Local Provider"
- [Bug]: Connection page shows error in "Local Provider" HOT 2
- [Extensions] Consider use of JSON Schema for representation of Component capabilities HOT 2
- Generator publishing relationships to wrong directory
- meshery-shapes 1.0.0 being regenerated
- Checking in...
- [UI] Local Provider: Designs fail to load HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meshery.