Comments (4)
I agree this is an annoying consequence of naming and how jsonnet-bundler handles the "legacy" naming.
Personally I see this as a problem with jsonnet-bundler and ideally should be fixed there. Changing the naming upstream (here) would be a workaround for a downstream problem. Perhaps a jb install --name <name> <url>
pattern would be a nice feature for jb
.
As a quick workaround, you can set the 'name' attribute in jsonnetfile.json
:
...
{
"source": {
"git": {
"remote": "https://github.com/jsonnet-libs/istio-libsonnet.git",
"subdir": "1.13"
}
},
"version": "main",
"name": "istio-lib" <--- set name here
},
...
from k8s.
I've made a quick PR for jsonnet-bundler for this: jsonnet-bundler/jsonnet-bundler#158 (not sure if they will take it as it is a legacy feature)
from k8s.
That PR got merged ^^ ✨
from k8s.
Yeah, I just saw that too! Many Thanks @Duologic 😁
from k8s.
Related Issues (20)
- With fluent/fluenbit-operator, generator fails with: Expected token IDENTIFIER but got "null" while parsing parameter HOT 1
- (k8s-libsonnet) inconsistent inclusion of labelSelector HOT 3
- Kubernetes 1.22+ breaks docsonnet HOT 4
- Kubernetes 1.22+ breaks docsonnet HOT 5
- generate k8s-libsonnet 1.24
- Can't create a deployment without specifying replicas HOT 5
- escapeKey does not escape / (forward slash) HOT 1
- HPA `withScaleTargetRef` custom function returns error
- volume-mount helpers only target containers and exclude initContainers
- How to dynamically create volume for a deployment HOT 1
- Kubernetes 1.26 support
- Version discovery and automated updates HOT 4
- Better documentation and explanation of object shapes
- Generator can not properly handle keys/values with operand characters (ie $) HOT 2
- k8s-libsonnet: Text block's first line must start with whitespace HOT 1
- mapContainer doesn't work on pod. HOT 1
- Unable to create a service without defining a selector. HOT 6
- New generator to support CloudFormation resources HOT 6
- Problems importing CRDs with Helm variables in metadata - Linkerd HOT 2
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 k8s.