Skip to content

Commit

Permalink
Add outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Negashev committed Dec 29, 2023
1 parent 82bad85 commit 3427122
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions chart/templates/generator-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ spec:
entrypoint: init
templates:
- name: init
outputs:
parameters:
- name: "ingress"
valueFrom:
parameter: '{{`{{steps.create-ingress.outputs.host}}`}}{{`{{steps.create-ingress.outputs.path}}`}}'
steps:
- - name: get-last-snapshot
template: get-last-snapshot
Expand Down Expand Up @@ -211,6 +216,14 @@ spec:
parameters:
- name: pvc-name
- name: service-name
outputs:
parameters:
- name: host
valueFrom:
jsonPath: '{{`{.spec.rules[0].host}`}}'
- name: path
valueFrom:
jsonPath: '{{`{.spec.rules[0].http.paths[0].path}`}}'
resource:
action: create
setOwnerReference: true
Expand Down
3 changes: 1 addition & 2 deletions tunnel/aldaas.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
ALDAAS_NAMESPACE=aldaas
ALDAAS_AWT=aldaas-chart

argo -n $ALDAAS_NAMESPACE submit --from workflowtemplate/$ALDAAS_AWT --watch
argo submit --from workflowtemplate/$ALDAAS_AWT --watch

0 comments on commit 3427122

Please sign in to comment.