Skip to content

Commit 65c6a5e

Browse files
authored
feat(trust-manager): Add trust-manager library (#579)
Adds a library for the trust-manager project. See: https://cert-manager.io/docs/trust/trust-manager
1 parent 7c70dcd commit 65c6a5e

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2731,6 +2731,7 @@
27312731
- "teleport-operator"
27322732
- "traefik"
27332733
- "triggermesh"
2734+
- "trust-manager"
27342735
- "upbound-provider-opentofu"
27352736
- "vault-secrets-operator"
27362737
- "vertical-pod-autoscaler"
@@ -3090,6 +3091,46 @@
30903091
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
30913092
"if": "steps.filter.outputs.workflows == 'true'"
30923093
"run": "make libs/triggermesh"
3094+
"trust-manager":
3095+
"name": "Generate trust-manager Jsonnet library and docs"
3096+
"needs":
3097+
- "build"
3098+
- "repos"
3099+
"runs-on": "ubuntu-latest"
3100+
"steps":
3101+
- "uses": "actions/checkout@v4"
3102+
- "id": "filter"
3103+
"uses": "dorny/paths-filter@v3"
3104+
"with":
3105+
"filters": |
3106+
workflows:
3107+
- '.github/**'
3108+
- 'bin/**'
3109+
- 'Dockerfile'
3110+
- 'go.mod'
3111+
- 'go.sum'
3112+
- 'jsonnet/**'
3113+
- 'main.go'
3114+
- 'Makefile'
3115+
- 'pkg/**'
3116+
- 'scripts/**'
3117+
- 'tf/**'
3118+
- 'libs/trust-manager/**'
3119+
- "if": "steps.filter.outputs.workflows == 'true'"
3120+
"uses": "actions/download-artifact@v4"
3121+
"with":
3122+
"name": "docker-artifact"
3123+
"path": "artifacts"
3124+
- "if": "steps.filter.outputs.workflows == 'true'"
3125+
"run": "make load"
3126+
- "env":
3127+
"DIFF": "true"
3128+
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
3129+
"GIT_COMMITTER_EMAIL": "86770550+jsonnet-libs-bot@users.noreply.github.com"
3130+
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
3131+
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
3132+
"if": "steps.filter.outputs.workflows == 'true'"
3133+
"run": "make libs/trust-manager"
30933134
"upbound-provider-opentofu":
30943135
"name": "Generate upbound-provider-opentofu Jsonnet library and docs"
30953136
"needs":

libs/trust-manager/config.jsonnet

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
local config = import 'jsonnet/config.jsonnet';
2+
local versions = [
3+
{ version: '0.20', tag: 'v0.20.2' },
4+
];
5+
6+
config.new(
7+
name='trust-manager',
8+
specs=[
9+
{
10+
output: v.version,
11+
prefix: '^io\\.(cert-manager\\.trust|trust-manager)\\..*',
12+
crds: [
13+
'https://raw.githubusercontent.com/cert-manager/trust-manager/refs/tags/' + v.tag + '/deploy/crds/trust-manager.io_clusterbundles.yaml',
14+
'https://raw.githubusercontent.com/cert-manager/trust-manager/refs/tags/' + v.tag + '/deploy/crds/trust.cert-manager.io_bundles.yaml',
15+
],
16+
localName: 'trust_manager',
17+
}
18+
for v in versions
19+
]
20+
)

0 commit comments

Comments
 (0)