Code Monkey home page Code Monkey logo

cdk8s-examples's Introduction

cdk8s-examples

cdk8s-examples's People

Contributors

cdk8s-automation avatar corymhall avatar dependabot[bot] avatar iliapolo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cdk8s-examples's Issues

Remove autogenerated import

Current set of java examples contain Kubernetes imports checked in.

Description of the feature or enhancement:

Reduce the size of the examples by removing imports folder and letting the users generate the imports.

Use Case:

Make K8s resource generation process obvious to the users.

Proposed Solution:

Other:

  • ๐Ÿ‘‹ I may be able to implement this feature request
  • โš ๏ธ This feature might incur a breaking change

This is a ๐Ÿš€ Feature Request

Example of how to use CDK8 across multiple environments

Description of the feature or enhancement:

Example of how to use CDK8s across multiple environments

Use Case:

Test changes in the testing environment without impacting production, or have different configurations in different environments.

Proposed Solution:

You could read in a environment variable to select a config file and use that to make a decision, maybe?

Other:

  • ๐Ÿ‘‹ I may be able to implement this feature request
  • โš ๏ธ This feature might incur a breaking change

This is a ๐Ÿš€ Feature Request

Add example of overriding helm chart

Description of the feature or enhancement:

Example of overriding helm chart

Use Case:

It's common problem one runs into when working with community helm charts is that they have static values you want to change, but no variables, or they have variables, but they are templating out the variables incorrectly. The fix is either to hardcode the community helm chart in your company's Github, or to submit a open-source PR, both of which can have downsides.

Proposed Solution:

Something like so:

    const h = new Helm(...........
    h.apiObjects.forEach(apiobject => {
        if(apiobject.kind == 'ConfigMap' && apiobject.name.endsWith('health')){
            apiobject.addJsonPatch(JsonPatch.replace('/data/parse_sentinels.awk', "example replaced value"))
        }
    })

I tested it and it appears to work. It feels a bit hacky going through the apiobject's like that, there might be a better way?

Other:

  • ๐Ÿ‘‹ I may be able to implement this feature request
  • โš ๏ธ This feature might incur a breaking change

This is a ๐Ÿš€ Feature Request

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.