2020-02-10 15:53:12 +02:00
|
|
|
metadata:
|
|
|
|
name: cloudFoundryDeleteService
|
|
|
|
description: DeleteCloudFoundryService
|
|
|
|
longDescription: |
|
|
|
|
Delete CloudFoundryService
|
|
|
|
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:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
2020-05-14 14:48:12 +02:00
|
|
|
- GENERAL
|
2020-02-10 15:53:12 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/apiEndpoint
|
|
|
|
- name: username
|
|
|
|
type: string
|
|
|
|
description: User or E-Mail for CF
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
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: username
|
2020-02-10 15:53:12 +02:00
|
|
|
- name: password
|
|
|
|
type: string
|
|
|
|
description: User Password for CF User
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
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-02-10 15:53:12 +02:00
|
|
|
- name: cfOrg
|
|
|
|
type: string
|
|
|
|
description: CF org
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
2020-05-14 14:48:12 +02:00
|
|
|
- GENERAL
|
2020-02-10 15:53:12 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/org
|
|
|
|
- name: cfSpace
|
|
|
|
type: string
|
|
|
|
description: CF Space
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
2020-05-14 14:48:12 +02:00
|
|
|
- GENERAL
|
2020-02-10 15:53:12 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/space
|
|
|
|
- name: cfServiceInstance
|
|
|
|
type: string
|
|
|
|
description: Parameter of ServiceInstance Name to delete CloudFoundry Service
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
2020-05-14 14:48:12 +02:00
|
|
|
- GENERAL
|
2020-02-10 15:53:12 +02:00
|
|
|
mandatory: true
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/serviceInstance
|
2020-03-05 16:35:43 +02:00
|
|
|
- name: cfDeleteServiceKeys
|
|
|
|
type: bool
|
|
|
|
description: Parameter to force deletion of Cloud Foundry Service Keys
|
|
|
|
scope:
|
|
|
|
- PARAMETERS
|
|
|
|
- STAGES
|
|
|
|
- STEPS
|
|
|
|
mandatory: false
|
|
|
|
aliases:
|
|
|
|
- name: cloudFoundry/cfDeleteServiceKeys
|
2020-02-10 15:53:12 +02:00
|
|
|
containers:
|
|
|
|
- name: cf
|
|
|
|
image: ppiper/cf-cli
|
2020-06-15 21:31:50 +02:00
|
|
|
workingDir: '/home/piper'
|
2020-02-10 15:53:12 +02:00
|
|
|
imagePullPolicy: Never
|