Git Product home page Git Product logo

cnab-riff's People

Contributors

glyn avatar sbawaska avatar scothis avatar spring-operator avatar trisberg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cnab-riff's Issues

Create stable/nightly/latest versions of the bundle

Currently the bundle references dependencies that themselves are floating snapshots. This means that there is no consistency or reproducibility when installing the bundle.

The published bundle should be locked down by default. This means:

  • remote URLs are resolved
  • images with tags are resolved to digests

We can keep the free floating bundle as a 'latest' bundle which isn't QAed, but makes testing the latest components easier.

This repo is no longer experimental

riff system install no longer exists. This is the preferred way to install riff. We need to remove references to the cnab bundle being experimental and treat it like a regular projectriff repo.

Need instructions for Windows

Following the instructions adapted to Windows fails in the install:

PS C:\Users\trisberg> $SERVICE_ACCOUNT='duffle-runtime'
PS C:\Users\trisberg> $KUBE_NAMESPACE='duffle'
PS C:\Users\trisberg> kubectl create namespace $KUBE_NAMESPACE
namespace/duffle created
PS C:\Users\trisberg> kubectl create serviceaccount "${SERVICE_ACCOUNT}" -n "${KUBE_NAMESPACE}"
serviceaccount/duffle-runtime created
PS C:\Users\trisberg> kubectl create clusterrolebinding "${SERVICE_ACCOUNT}-cluster-admin" --clusterrole cluster-admin --serviceaccount "${KUBE_NAMESPACE}:${SERVICE_ACCOUNT}"
clusterrolebinding.rbac.authorization.k8s.io/duffle-runtime-cluster-admin created
PS C:\Users\trisberg> duffle install myriff https://storage.googleapis.com/projectriff/riff-cnab/snapshots/riff-bundle-latest.json --bundle-is-file -s node_port=true -d k8s
Executing install action...
Error: Install step failed: KUBE_NAMESPACE is required
PS C:\Users\trisberg> echo $KUBE_NAMESPACE
duffle

remove validation for pinned images

The pinning images PR #35 was validating if the duffle.json and cnab/app/kab/manifest.yaml files were checked in when the bundle was build. Since the images change too frequently, this check should be removed.

Install fails on recent Docker Desktop which uses 'docker-desktop' node name

using Docker edge 2.0.4.1

$  duffle install myriff riff-bundle-latest.json --bundle-is-file --credentials myk8s --insecure
Executing install action...
...
...
Status: Downloaded newer image for projectriff/riff-cnab:f36ae7173dbbbbfad15f301733319fe24821d491
time="2019-05-31T11:07:48Z" level=fatal msg="Get https://localhost:6443/api/v1/nodes/minikube: dial tcp 127.0.0.1:6443: connect: connection refused"
Error: Install step failed: container exit code: 1

The localhost:6443 endpoint appears correct for docker-desktop, but it appears that the node-port detection code is assuming a node name docker-for-desktop instead of docker-desktop.

see https://github.com/projectriff/cnab-k8s-installer-base/blob/c263a4c721b62a1f5944347fcb758dbca670e365/pkg/kab/patch_manifest.go#L33

$ kubectl get node
NAME             STATUS   ROLES    AGE   VERSION
docker-desktop   Ready    master   37m   v1.14.1

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.