Skip to content

Commit

Permalink
Add external-dns 0.13.6 (#363)
Browse files Browse the repository at this point in the history
external-dns has an optional CRD source mechanism for creating
DNS records.

https://github.com/kubernetes-sigs/external-dns/blob/v0.13.6/docs/contributing/crd-source.md
  • Loading branch information
frimik authored Dec 29, 2023
1 parent 5fa028c commit c7b84f6
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/edp-keycloak-operator"
"external-dns":
"name": "Generate external-dns Jsonnet library and docs"
"needs":
- "build"
- "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v3"
- "id": "filter"
"uses": "dorny/paths-filter@v2"
"with":
"filters": |
workflows:
- '.github/**'
- 'bin/**'
- 'Dockerfile'
- 'go.mod'
- 'go.sum'
- 'jsonnet/**'
- 'main.go'
- 'Makefile'
- 'pkg/**'
- 'scripts/**'
- 'tf/**'
- 'libs/external-dns/**'
- "if": "steps.filter.outputs.workflows == 'true'"
"uses": "actions/download-artifact@v2"
"with":
"name": "docker-artifact"
"path": "artifacts"
- "if": "steps.filter.outputs.workflows == 'true'"
"run": "make load"
- "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 }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/external-dns"
"external-secrets":
"name": "Generate external-secrets Jsonnet library and docs"
"needs":
Expand Down Expand Up @@ -1839,6 +1879,7 @@
- "crossplane"
- "eck-operator"
- "edp-keycloak-operator"
- "external-dns"
- "external-secrets"
- "flagger"
- "fluxcd"
Expand Down
18 changes: 18 additions & 0 deletions libs/external-dns/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
local config = import 'jsonnet/config.jsonnet';

local versions = [
{ version: '0.13', tag: '0.13.6' },
];

config.new(
name='external-dns',
specs=[
{
output: v.version,
prefix: '^io\\.k8s\\.externaldns\\..*',
crds: ['https://raw.githubusercontent.com/kubernetes-sigs/external-dns/v%s/docs/contributing/crd-source/crd-manifest.yaml' % v.tag],
localName: 'external_dns',
}
for v in versions
]
)

0 comments on commit c7b84f6

Please sign in to comment.