Skip to content

Commit 7f80336

Browse files
authored
Update closecr.md (#557)
* Update closecr.md * Create cf_token.yaml (#558) * fix extension * add missing example --------- Signed-off-by: lrochette <[email protected]>
1 parent 7e5d633 commit 7f80336

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: cf-api-key-aperture
5+
type: Opaque
6+
stringData:
7+
token: "642xxxxxxxxxxxxxxxxxdedc.584xxxxxxxxxxxxxxxxxxxxxxxxxefda"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: cf-api-key-aperture
5+
type: Opaque
6+
# not encoded as we use stringData (instead of data that requires base64 encoding)
7+
stringData:
8+
token: "642ca0xxxx7b6620xxxxxxxx.584dyyyyyyyyyy26ce7c43byyyyyy"

workflows/servicenow/versions/1.3.1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The workflowTemplate have been tested on the following instance releases:
1515
ServiceNow instance. See [example](../../assets/sn_auth.yml)
1616
- username
1717
- password
18-
2. create a secret containing the Codefresh API Key (in the token field). See [example](../../assets/cf_token.yml)
18+
2. create a secret containing the Codefresh API Key (in the token field). See [example](../../assets/cf_token.yaml)
1919
3. install the [local update](../../assets/xml/ServiceNow-Codefresh_Integration_1.3.0.xml) set in your instance
2020

2121
## Templates

workflows/servicenow/versions/1.3.1/docs/closecr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ None
2525
apiVersion: argoproj.io/v1alpha1
2626
kind: Workflow
2727
metadata:
28-
generateName: update-cr
28+
generateName: close-cr
2929
spec:
3030
entrypoint: main
3131
templates:
3232
- name: main
3333
dag:
3434
tasks:
35-
- name: update-sn-cr
35+
- name: close-sn-cr
3636
templateRef:
3737
name: argo-hub.servicenow.1.3.1
38-
template: updatecr
38+
template: closecr
3939
arguments:
4040
parameters:
4141
- name: SN_INSTANCE

0 commit comments

Comments
 (0)