1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/resources/metadata/cloudFoundryCreateServiceKey.yaml

115 lines
3.1 KiB
YAML
Raw Normal View History

metadata:
name: cloudFoundryCreateServiceKey
description: cloudFoundryCreateServiceKey
longDescription: |
Create CloudFoundryServiceKey
spec:
inputs:
secrets:
- name: cfCredentialsId
description: Jenkins 'Username with password' 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
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
mandatory: true
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: username
- type: vaultSecret
default: cloudfoundry-$(org)-$(space)
name: cloudfoundryVaultSecretName
- name: password
type: string
description: User Password for CF User
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: true
2020-04-16 14:37:45 +02:00
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: password
- type: vaultSecret
default: cloudfoundry-$(org)-$(space)
name: cloudfoundryVaultSecretName
- name: cfOrg
type: string
description: CF org
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
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
mandatory: true
aliases:
- name: cloudFoundry/space
- name: cfServiceInstance
type: string
description: Parameter for CloudFoundry Service Instance Name
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/serviceInstance
- name: cfServiceKeyName
type: string
description: Parameter for Service Key name for CloudFoundry Service Key to be created
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/serviceKey
- name: cloudFoundry/serviceKeyName
- name: cfServiceKey
- name: cfServiceKeyConfig
type: string
description: Path to JSON config file path or JSON in-line string for Cloud Foundry Service Key creation
scope:
2020-08-31 16:10:28 +02:00
- PARAMETERS
- STAGES
- STEPS
mandatory: false
aliases:
- name: cloudFoundry/serviceKeyConfig
containers:
- name: cf
2021-02-15 12:06:07 +02:00
image: ppiper/cf-cli:7