Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to support kubecf #1

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Commits on May 27, 2020

  1. feat: Add BPM hooks

    This adds the minimal BPM hooks to let things run.  This is necessary as
    quarks-operator does not support non-BPM jobs.
    mook-as committed May 27, 2020
    Configuration menu
    Copy the full SHA
    ac700ed View commit details
    Browse the repository at this point in the history
  2. fix: Make openldap build on SUSE/fissile.

    We need `-L` for libdb to be found; we also require a `soelim`
    executable (which normally comes in the `groff` package) for the build
    to succeed.  As we don't actually need the output (documentation), just
    write a stub that does nothing instead.
    mook-as committed May 27, 2020
    Configuration menu
    Copy the full SHA
    7a37cca View commit details
    Browse the repository at this point in the history
  3. feat: Add cf-cli-6-linux package

    In the quarks world, we do not have co-located jobs (since each job runs
    in an independent container).  Instead, we can vendor the CLI package
    so that it is visible in the nfsbrokerpush job.
    mook-as committed May 27, 2020
    Configuration menu
    Copy the full SHA
    ddb3333 View commit details
    Browse the repository at this point in the history
  4. fix: nfsv3driver: run rpcbind / rpc.statd

    Mounting NFS volumes requires rpc.statd to be running (for lock
    management).  As we run each job in a separate container, we cannot just
    add jobs for them (as then rpc.statd would not be able to communicate
    with rpcbind correctly).  Instead, just spawn them in the nfsv3driver
    startup script; they will background themselves.
    
    Also, remove the logging redirects, as logging to stdout/stderr is more
    useful in a containerized scenario.
    mook-as committed May 27, 2020
    Configuration menu
    Copy the full SHA
    0c7eb76 View commit details
    Browse the repository at this point in the history
  5. fix: nfsv3driver: rename pre-start script

    If the pre-start script is named bin/pre-start, it will (also) be run as
    a BOSH pre-start script (in addition to being run as a BPM pre-start
    script); quarks-operator will in this case mount
    /var/vcap/data/voldrivers as read-only, which breaks the pre-start
    script.  Only use it as a BPM pre-start script instead to ensure that
    the volume is mounted read-write.
    mook-as committed May 27, 2020
    Configuration menu
    Copy the full SHA
    530405e View commit details
    Browse the repository at this point in the history