2020-04-01 11:45:31 +02:00
|
|
|
metadata:
|
|
|
|
name: cloudFoundryCreateServiceKey
|
|
|
|
description: cloudFoundryCreateServiceKey
|
|
|
|
longDescription: |
|
|
|
|
Create CloudFoundryServiceKey
|
|
|
|
spec:
|
|
|
|
inputs:
|
|
|
|
secrets:
|
|
|
|
- name: cfCredentialsId
|
|
|
|
description: Jenkins credentials ID containing user and password to authenticate to the Cloud Foundry API
|
|
|
|
type: jenkins
|
|
|
|
params:
|
|
|
|
- name: cfApiEndpoint
|
|
|
|
type: string
|
|
|
|
description: Cloud Foundry API endpoint
|
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
- GENERAL
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/apiEndpoint
|
|
|
|
- name: username
|
|
|
|
type: string
|
|
|
|
description: User or E-Mail for CF
|
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: true
|
2020-08-28 15:38:15 +02:00
|
|
|
secret: true
|
|
|
|
resourceRef:
|
|
|
|
- name: cfCredentialsId
|
|
|
|
type: secret
|
|
|
|
param: username
|
2020-04-01 11:45:31 +02:00
|
|
|
- name: password
|
|
|
|
type: string
|
|
|
|
description: User Password for CF User
|
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: true
|
2020-04-16 14:37:45 +02:00
|
|
|
secret: true
|
2020-08-28 15:38:15 +02:00
|
|
|
resourceRef:
|
|
|
|
- name: cfCredentialsId
|
|
|
|
type: secret
|
|
|
|
param: password
|
2020-04-01 11:45:31 +02:00
|
|
|
- name: cfOrg
|
|
|
|
type: string
|
|
|
|
description: CF org
|
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
- GENERAL
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/org
|
|
|
|
- name: cfSpace
|
|
|
|
type: string
|
|
|
|
description: CF Space
|
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
- GENERAL
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/space
|
|
|
|
- name: cfServiceInstance
|
|
|
|
type: string
|
2020-04-29 13:11:06 +02:00
|
|
|
description: Parameter for CloudFoundry Service Instance Name
|
2020-04-01 11:45:31 +02:00
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
- GENERAL
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/serviceInstance
|
|
|
|
- name: cfServiceKeyName
|
|
|
|
type: string
|
2020-04-29 13:11:06 +02:00
|
|
|
description: Parameter for Service Key name for CloudFoundry Service Key to be created
|
2020-04-01 11:45:31 +02:00
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
- GENERAL
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
2020-06-30 15:46:07 +02:00
|
|
|
- name: cloudFoundry/serviceKey
|
2020-04-01 11:45:31 +02:00
|
|
|
- name: cloudFoundry/serviceKeyName
|
2020-06-30 15:46:07 +02:00
|
|
|
- name: cfServiceKey
|
2020-04-01 11:45:31 +02:00
|
|
|
- name: cfServiceKeyConfig
|
|
|
|
type: string
|
2020-04-29 13:11:06 +02:00
|
|
|
description: Path to JSON config file path or JSON in-line string for Cloud Foundry Service Key creation
|
2020-04-01 11:45:31 +02:00
|
|
|
scope:
|
2020-08-31 16:10:28 +02:00
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
2020-04-01 11:45:31 +02:00
|
|
|
mandatory: false
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/serviceKeyConfig
|
|
|
|
containers:
|
|
|
|
- name: cf
|
|
|
|
image: ppiper/cf-cli
|
|
|
|
imagePullPolicy: Never
|