cdk8s-team / cdk8s-plus-17 Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
To reproduce:
yarn upgrade cdk8s-cli json2jsii
rm -rf src/imports
yarn run import
yarn test
You should see many errors saying that:
secrets can be added to the service account
TypeError: _b.map is not a function
11038 | 'imagePullSecrets': obj.imagePullSecrets?.map(y => toJson_LocalObjectReference(y)),
11039 | 'metadata': toJson_ObjectMeta(obj.metadata),
> 11040 | 'secrets': obj.secrets?.map(y => toJson_ObjectReference(y)),
| ^
11041 | };
The problem here is that the toJson
methods added by cdk8s-team/cdk8s-cli#43 doesn't seem to handle tokens correctly.
Derived from cdklabs/json2jsii#480
We should probably call resolve
(from cdk8s/lib/_resolve
) on every property before or call resolve
on the entire object before invoking the toJson
methods.
This is just a question.
To use k8s API v1.19, v1.20 and cdk8s together,
Do I have to create my own cdk8s-plus-19
, cdk8s-plus-20
?
Currently, this repo provides only cdk8s-plus-17
.
I was just wondered but still wondered even with the documentation.
Thank you.
Currently if you want to create an Ingress with TLS termination, you have to use the Ingress construct from cdk8s.
Being able to avoid low-level constructs.
Either pass a tls prop to the IngressV1Beta1 Construct or invoke the addTls method after instantiating the Ingress.
Other:
PR: #14
We recently had a lot of changes to the cdk8s-cli
and to json2jsii
which affect the generation of the L1 resources.
Lets use the latest versions and re-import them.
Also - we should configure the project such that import is executed as part of the build (it doesn't take too long in TS), this will make it so they are re-imported automatically every time a dependency changes.
Research ways to support multiple versions of k8s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.