Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1b88f72

Browse files
feat: Add aws rds controller (#511)
1 parent a094b12 commit 1b88f72

File tree

2 files changed

+113
-0
lines changed

2 files changed

+113
-0
lines changed

‎.github/workflows/main.yml‎

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,46 @@
280280
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
281281
"if": "steps.filter.outputs.workflows == 'true'"
282282
"run": "make libs/aws-load-balancer-controller"
283+
"aws-rds-controller":
284+
"name": "Generate aws-rds-controller Jsonnet library and docs"
285+
"needs":
286+
- "build"
287+
- "repos"
288+
"runs-on": "ubuntu-latest"
289+
"steps":
290+
- "uses": "actions/checkout@v4"
291+
- "id": "filter"
292+
"uses": "dorny/paths-filter@v3"
293+
"with":
294+
"filters": |
295+
workflows:
296+
- '.github/**'
297+
- 'bin/**'
298+
- 'Dockerfile'
299+
- 'go.mod'
300+
- 'go.sum'
301+
- 'jsonnet/**'
302+
- 'main.go'
303+
- 'Makefile'
304+
- 'pkg/**'
305+
- 'scripts/**'
306+
- 'tf/**'
307+
- 'libs/aws-rds-controller/**'
308+
- "if": "steps.filter.outputs.workflows == 'true'"
309+
"uses": "actions/download-artifact@v4"
310+
"with":
311+
"name": "docker-artifact"
312+
"path": "artifacts"
313+
- "if": "steps.filter.outputs.workflows == 'true'"
314+
"run": "make load"
315+
- "env":
316+
"DIFF": "true"
317+
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
318+
"GIT_COMMITTER_EMAIL": "86770550+jsonnet-libs-bot@users.noreply.github.com"
319+
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
320+
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
321+
"if": "steps.filter.outputs.workflows == 'true'"
322+
"run": "make libs/aws-rds-controller"
283323
"banzai-logging":
284324
"name": "Generate banzai-logging Jsonnet library and docs"
285325
"needs":
@@ -2465,6 +2505,7 @@
24652505
- "argo-rollouts"
24662506
- "argo-workflows"
24672507
- "aws-load-balancer-controller"
2508+
- "aws-rds-controller"
24682509
- "banzai-logging"
24692510
- "banzaicloud-bank-vaults"
24702511
- "calico"
@@ -2528,6 +2569,7 @@
25282569
- "triggermesh"
25292570
- "vault-secrets-operator"
25302571
- "vertical-pod-autoscaler"
2572+
- "victoria-metrics-operator"
25312573
- "zalando-postgres-operator"
25322574
"runs-on": "ubuntu-latest"
25332575
"steps":
@@ -2963,6 +3005,46 @@
29633005
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
29643006
"if": "steps.filter.outputs.workflows == 'true'"
29653007
"run": "make libs/vertical-pod-autoscaler"
3008+
"victoria-metrics-operator":
3009+
"name": "Generate victoria-metrics-operator Jsonnet library and docs"
3010+
"needs":
3011+
- "build"
3012+
- "repos"
3013+
"runs-on": "ubuntu-latest"
3014+
"steps":
3015+
- "uses": "actions/checkout@v4"
3016+
- "id": "filter"
3017+
"uses": "dorny/paths-filter@v3"
3018+
"with":
3019+
"filters": |
3020+
workflows:
3021+
- '.github/**'
3022+
- 'bin/**'
3023+
- 'Dockerfile'
3024+
- 'go.mod'
3025+
- 'go.sum'
3026+
- 'jsonnet/**'
3027+
- 'main.go'
3028+
- 'Makefile'
3029+
- 'pkg/**'
3030+
- 'scripts/**'
3031+
- 'tf/**'
3032+
- 'libs/victoria-metrics-operator/**'
3033+
- "if": "steps.filter.outputs.workflows == 'true'"
3034+
"uses": "actions/download-artifact@v4"
3035+
"with":
3036+
"name": "docker-artifact"
3037+
"path": "artifacts"
3038+
- "if": "steps.filter.outputs.workflows == 'true'"
3039+
"run": "make load"
3040+
- "env":
3041+
"DIFF": "true"
3042+
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
3043+
"GIT_COMMITTER_EMAIL": "86770550+jsonnet-libs-bot@users.noreply.github.com"
3044+
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
3045+
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
3046+
"if": "steps.filter.outputs.workflows == 'true'"
3047+
"run": "make libs/victoria-metrics-operator"
29663048
"zalando-postgres-operator":
29673049
"name": "Generate zalando-postgres-operator Jsonnet library and docs"
29683050
"needs":
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
local config = import 'jsonnet/config.jsonnet';
2+
3+
local versions = [
4+
{ version: '1.4', tag: 'v1.4.12' },
5+
6+
];
7+
8+
config.new(
9+
name='aws-rds-controller',
10+
specs=[
11+
{
12+
local url = 'https://raw.githubusercontent.com/aws-controllers-k8s/rds-controller/%s/helm/crds' % v.tag,
13+
output: v.version,
14+
crds: [
15+
'%s/rds.services.k8s.aws_dbclusterparametergroups.yaml' % url,
16+
'%s/rds.services.k8s.aws_dbclusters.yaml' % url,
17+
'%s/rds.services.k8s.aws_dbclustersnapshots.yaml' % url,
18+
'%s/rds.services.k8s.aws_dbinstances.yaml' % url,
19+
'%s/rds.services.k8s.aws_dbparametergroups.yaml' % url,
20+
'%s/rds.services.k8s.aws_dbproxies.yaml' % url,
21+
'%s/rds.services.k8s.aws_dbsnapshots.yaml' % url,
22+
'%s/rds.services.k8s.aws_dbsubnetgroups.yaml' % url,
23+
'%s/rds.services.k8s.aws_globalclusters.yaml' % url,
24+
'%s/services.k8s.aws_adoptedresources.yaml' % url,
25+
'%s/services.k8s.aws_fieldexports.yaml' % url,
26+
],
27+
localName: 'aws-rds-controller',
28+
}
29+
for v in versions
30+
]
31+
)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /