Giter Site home page Giter Site logo

cf-plugin-deploy's Introduction

What is cf-plugin-deploy?

cf-plugin-deploy allows you to specify initial users and their credentials, their role/space associations, as well as limiting what brokers are accessible from which spaces at the time of the CF deployment.

How to install

Clone the repo, build the binary, and install the plugin:

git clone https://github.com/cloudfoundry-community/cf-plugin-deploy
cd cf-plugin-deploy
make 
make cf

How to use

Please see the manifests in examples for available syntax. Once you have built the manifest, deploy the changes to your Cloud Foundry with cf deploy.

cf-plugin-deploy's People

Stargazers

 avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cf-plugin-deploy's Issues

No Godeps?

Cannot build binary due to missing dependencies ;)

Support user provided services

We should support defining/updating user provided services via cf-plugin-deploy.

Possible config format (underneath the spaces section):

organizations:
  my-org:
    spaces:
      my-space:
        user-provided-services:
        - name: my-user-provided-service
           credentials:
             key: value
             other: value
        - name: my-user-provided-route-service
           route_service_url: https://example.com
        - name: my-user-provided-syslog-drain
           syslog_drain_url: syslog://example.com

These services should also be treated like regular services in cf-deploy so that they can be bound to applications when they're pushed via cf-deploy.

Support managing security groups

Allow cf-plugin-deploy to create security/update groups in CF, and assign them to global defaults for staging/running apps, or to individual orgs/spaces

security_groups:
- name: org-sg
   rules:
   - destination: 10.0.0.1
      protocol: all
- name: space-sg
   rules:
   - destination: 10.0.0.2
      protocol: all
- name: global-sg
   rules:
   - destination: 10.0.0.3
     protocol: all
global_security_groups:
  staging:
  - global-sg
  running:
  - global-sg
organizations:
  my-org:
     security-groups:
     - org-sg
     spaces:
     - space-sg

Rules contents should just be jsonified, not necessarily inspected for anything, and pushed as SG contents.

Feature Request: Support space scoped security group sets in the upcoming cf-cli release

The CF documentation talked about space scoped staging and running security groups but it only supported the running security group through the cf CLI. It looks like a future of cf will correct this oversight.

The YAML file will be updated to support this future change. It will be setup like the platform wide security-group-sets

organization
ABC:
security_group_sets:
running:
- sg1
staging:
-sg2
spaces:
spaceman:
security_group_set:
running:
- sg3
staging
- sg4

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.