-
Notifications
You must be signed in to change notification settings - Fork 28
152 lines (150 loc) · 6.14 KB
/
sync-remote-helm-charts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
name: 'Sync remote charts in PR'
on:
push:
branches:
- main
jobs:
sync-chart:
strategy:
matrix:
charts:
- remote_owner: bitnami
remote_repository: charts
remote_directory: bitnami/postgresql
target_directory: addons/postgresql-managed
- remote_owner: bitnami
remote_repository: charts
remote_directory: bitnami/redis
target_directory: addons/redis-managed
- remote_owner: aws
remote_repository: eks-charts
remote_directory: stable/aws-cloudwatch-metrics
target_directory: addons/aws-cloudwatch-metrics
- remote_owner: aws-controllers-k8s
remote_repository: ack-chart
remote_directory: .
target_directory: addons/ack-chart
- remote_owner: aws-controllers-k8s
remote_repository: apigatewayv2-controller
remote_directory: helm
target_directory: addons/apigatewayv2-chart
- remote_owner: aws-controllers-k8s
remote_repository: applicationautoscaling-controller
remote_directory: helm
target_directory: addons/applicationautoscaling-chart
- remote_owner: aws-controllers-k8s
remote_repository: cloudtrail-controller
remote_directory: helm
target_directory: addons/cloudtrail-chart
- remote_owner: aws-controllers-k8s
remote_repository: cloudwatch-controller
remote_directory: helm
target_directory: addons/cloudwatch-chart
- remote_owner: aws-controllers-k8s
remote_repository: cloudwatchlogs-controller
remote_directory: helm
target_directory: addons/cloudwatchlogs-chart
tag: v0.0.10
- remote_owner: aws-controllers-k8s
remote_repository: dynamodb-controller
remote_directory: helm
target_directory: addons/dynamodb-chart
- remote_owner: aws-controllers-k8s
remote_repository: ec2-controller
remote_directory: helm
target_directory: addons/ec2-chart
- remote_owner: aws-controllers-k8s
remote_repository: ecr-controller
remote_directory: helm
target_directory: addons/ecr-chart
- remote_owner: aws-controllers-k8s
remote_repository: eks-controller
remote_directory: helm
target_directory: addons/eks-chart
- remote_owner: aws-controllers-k8s
remote_repository: elasticache-controller
remote_directory: helm
target_directory: addons/elasticache-chart
- remote_owner: aws-controllers-k8s
remote_repository: emrcontainers-controller
remote_directory: helm
target_directory: addons/emrcontainers-chart
- remote_owner: aws-controllers-k8s
remote_repository: eventbridge-controller
remote_directory: helm
target_directory: addons/eventbridge-chart
- remote_owner: aws-controllers-k8s
remote_repository: iam-controller
remote_directory: helm
target_directory: addons/iam-chart
- remote_owner: aws-controllers-k8s
remote_repository: kms-controller
remote_directory: helm
target_directory: addons/kms-chart
- remote_owner: aws-controllers-k8s
remote_repository: lambda-controller
remote_directory: helm
target_directory: addons/lambda-chart
- remote_owner: aws-controllers-k8s
remote_repository: memorydb-controller
remote_directory: helm
target_directory: addons/memorydb-chart
- remote_owner: aws-controllers-k8s
remote_repository: pipes-controller
remote_directory: helm
target_directory: addons/pipes-chart
- remote_owner: aws-controllers-k8s
remote_repository: prometheusservice-controller
remote_directory: helm
target_directory: addons/prometheusservice-chart
- remote_owner: aws-controllers-k8s
remote_repository: rds-controller
remote_directory: helm
target_directory: addons/rds-chart
- remote_owner: aws-controllers-k8s
remote_repository: s3-controller
remote_directory: helm
target_directory: addons/s3-chart
- remote_owner: aws-controllers-k8s
remote_repository: sagemaker-controller
remote_directory: helm
target_directory: addons/sagemaker-chart
- remote_owner: aws-controllers-k8s
remote_repository: sfn-controller
remote_directory: helm
target_directory: addons/sfn-chart
- remote_owner: aws-controllers-k8s
remote_repository: sns-controller
remote_directory: helm
target_directory: addons/sns-chart
- remote_owner: aws-controllers-k8s
remote_repository: sqs-controller
remote_directory: helm
target_directory: addons/sqs-chart
- remote_owner: aws
remote_repository: karpenter-provider-aws
remote_directory: charts/karpenter
target_directory: addons/karpenter-aws
tag: v1.0.2
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout porter-charts
uses: actions/checkout@v4
- uses: azure/setup-helm@v3
with:
version: 'v3.3.4'
- name: Update remote chart
uses: ./.github/actions/sync-remote-directory
with:
remote_owner: ${{ matrix.charts.remote_owner }}
remote_repository: ${{ matrix.charts.remote_repository }}
remote_directory: ${{ matrix.charts.remote_directory }}
target_directory: ${{ matrix.charts.target_directory }}
tag: ${{ matrix.charts.tag }}
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
CHARTMUSEUM_URL: ${{ vars.PUBLIC_CHARTMUSEUM_ADDONS_URL }}
continue-on-error: true