Reputation: 95
What roles must be assigned to users to allow them to upload custom buildpacks via the CF CLI create-buildpack and update-buildpack commands?
Upvotes: 0
Views: 920
Reputation: 4037
As noted, buildpack administration is restricted to administrators of the Cloud Foundry environment. However, if you just want to use a custom or 3rd party buildpack that is not already installed, you can specify the buildpack to be used eg.
cf push myapp -b https://github.com/heroku/heroku-buildpack-play.git
The only drawback to this approach is that the buildpack needs to be downloaded, so will be a bit longer than a cf push that uses an installed buildpack. However, for use of the BYOB (bring your own buildpack) feature, you don't need to talk to an administrator;-)
Upvotes: 1
Reputation: 1686
Creating buildpacks is restricted to Cloud foundry Administrators. Cloud Foundry administrators cannot be created using the cf
tool, rather use the UAA Command Line Interface (UAAC).
It is important to note that any user who can push applications into a Cloud Foundry space can use custom buildpacks without needing admin permissions or installing them by simply specifying a URL in the cf push
command or manifest.
Upvotes: 1