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/cloudFoundryDeleteService.yaml
Oliver Feldmann 9812391145
Remove image pull policy from steps defaults (#2310)
Without this change the default setting from dockerExecute
and dockerExecuteOnKubernetes are overruled.
With this change the user has to explicitly configure a step
if they want this behaviour.

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-11-05 10:58:32 +01:00

107 lines
3.0 KiB
YAML

metadata:
name: cloudFoundryDeleteService
description: DeleteCloudFoundryService
longDescription: |
Delete CloudFoundryService
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:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/apiEndpoint
- name: username
type: string
description: User or E-Mail for CF
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: username
- type: vaultSecret
paths:
- $(vaultPath)/cloudfoundry-$(cfOrg)-$(cfSpace)
- $(vaultBasePath)/$(vaultPipelineName)/cloudfoundry-$(cfOrg)-$(cfSpace)
- $(vaultBasePath)/GROUP-SECRETS/cloudfoundry-$(cfOrg)-$(cfSpace)
- name: password
type: string
description: User Password for CF User
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: true
secret: true
resourceRef:
- name: cfCredentialsId
type: secret
param: password
- type: vaultSecret
paths:
- $(vaultPath)/cloudfoundry-$(cfOrg)-$(cfSpace)
- $(vaultBasePath)/$(vaultPipelineName)/cloudfoundry-$(cfOrg)-$(cfSpace)
- $(vaultBasePath)/GROUP-SECRETS/cloudfoundry-$(cfOrg)-$(cfSpace)
- name: cfOrg
type: string
description: CF org
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/org
- name: cfSpace
type: string
description: CF Space
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/space
- name: cfServiceInstance
type: string
description: Parameter of ServiceInstance Name to delete CloudFoundry Service
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
mandatory: true
aliases:
- name: cloudFoundry/serviceInstance
- name: cfDeleteServiceKeys
type: bool
description: Parameter to force deletion of Cloud Foundry Service Keys
scope:
- PARAMETERS
- STAGES
- STEPS
mandatory: false
aliases:
- name: cloudFoundry/cfDeleteServiceKeys
containers:
- name: cf
image: ppiper/cf-cli
workingDir: "/home/piper"