Skip to content

Commit

Permalink
Add argo-cd crds (jsonnet-libs#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
megumish authored Feb 19, 2022
1 parent da824ce commit 052f8b3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"run": "make build libs/actions-runner-controller"
"argo-cd":
"name": "Generate argo-cd Jsonnet library and docs"
"needs": "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v2"
- "env":
"DIFF": "true"
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
"GIT_COMMITTER_EMAIL": "[email protected]"
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"run": "make build libs/argo-cd"
"argo-workflows":
"name": "Generate argo-workflows Jsonnet library and docs"
"needs": "repos"
Expand Down Expand Up @@ -321,6 +334,7 @@
"name": "Set up gh-pages branch"
"needs":
- "actions-runner-controller"
- "argo-cd"
- "argo-workflows"
- "calico"
- "cert-manager"
Expand Down
16 changes: 16 additions & 0 deletions libs/argo-cd/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
local config = import 'jsonnet/config.jsonnet';

config.new(
name='argo-cd',
specs=[
{
output: '2.2',
prefix: '^io\\.argoproj\\..*',
localName: 'argo_cd',
crds: [
'https://raw.githubusercontent.com/argoproj/argo-cd/v2.2.5/manifests/crds/application-crd.yaml',
'https://raw.githubusercontent.com/argoproj/argo-cd/v2.2.5/manifests/crds/appproject-crd.yaml',
],
},
]
)

0 comments on commit 052f8b3

Please sign in to comment.