File tree 2 files changed +60
-0
lines changed
2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 11
11
steps :
12
12
- name : Checkout main
13
13
uses : actions/checkout@v2
14
+
15
+ - name : generate templates
16
+ run : |-
17
+ OPENUNISON_OPERATOR_VERSION=$(curl https://nexus.tremolo.io/repository/helm/charts.json 2>/dev/null | jq -r '.[] | select(.name == "openunison-operator") | .version')
18
+ OPENUNISON_ORCHESTRA_VERSION=$(curl https://nexus.tremolo.io/repository/helm/charts.json 2>/dev/null | jq -r '.[] | select(.name == "orchestra") | .version')
19
+ OPENUNISON_ORCHESTRA_LOGIN_PORTAL_VERSION=$(curl https://nexus.tremolo.io/repository/helm/charts.json 2>/dev/null | jq -r '.[] | select(.name == "orchestra-login-portal") | .version')
20
+
21
+ cat docs/assets/yaml/argocd-application-template.yaml | sed s/OPENUNISON_OPERATOR_VERSION/$OPENUNISON_OPERATOR_VERSION/g | sed s/OPENUNISON_ORCHESTRA_VERSION/$OPENUNISON_ORCHESTRA_VERSION/g | sed s/OPENUNISON_ORCHESTRA_LOGIN_PORTAL_VERSION/$OPENUNISON_ORCHESTRA_LOGIN_PORTAL_VERSION/g > docs/assets/yaml/argocd-application.yaml
22
+
14
23
15
24
- name : Deploy docs
16
25
uses : mhausenblas/mkdocs-deploy-gh-pages@master
Original file line number Diff line number Diff line change
1
+ apiVersion : argoproj.io/v1alpha1
2
+ kind : Application
3
+ metadata :
4
+ name : openunison-login
5
+ namespace : argocd
6
+ spec :
7
+ destination :
8
+ namespace : openunison
9
+ server : ' https://kubernetes.default.svc'
10
+ ignoreDifferences :
11
+ - group : admissionregistration.k8s.io
12
+ jsonPointers :
13
+ - /webhooks/0/clientConfig/caBundle
14
+ - /webhooks/1/clientConfig/caBundle
15
+ - /webhooks/2/clientConfig/caBundle
16
+ - /webhooks/3/clientConfig/caBundle
17
+ - /webhooks/4/clientConfig/caBundle
18
+ kind : ValidatingWebhookConfiguration
19
+ project : default
20
+ sources :
21
+ - chart : openunison-operator
22
+ helm :
23
+ releaseName : openunison
24
+ valueFiles :
25
+ - $values/userauth/values.yaml
26
+ repoURL : https://nexus.tremolo.io/repository/helm
27
+ targetRevision : OPENUNISON_OPERATOR_VERSION
28
+
29
+ - chart : orchestra
30
+ helm :
31
+ releaseName : orchestra
32
+ valueFiles :
33
+ - $values/userauth/values.yaml
34
+ repoURL : https://nexus.tremolo.io/repository/helm
35
+ targetRevision : OPENUNISON_ORCHESTRA_VERSION
36
+
37
+ - chart : orchestra-login-portal
38
+ helm :
39
+ releaseName : orchestra-login-portal
40
+ valueFiles :
41
+ - $values/userauth/values.yaml
42
+ repoURL : https://nexus.tremolo.io/repository/helm
43
+ targetRevision : OPENUNISON_ORCHESTRA_LOGIN_PORTAL_VERSION
44
+
45
+ - repoURL : https://github.com/TremoloSecurityDemos/openunison-argocd.git
46
+ path : userauth
47
+ - ref : values
48
+ repoURL : https://github.com/TremoloSecurityDemos/openunison-argocd.git
49
+ syncPolicy :
50
+ syncOptions :
51
+ - RespectIgnoreDifferences=true
You can’t perform that action at this time.
0 commit comments