Skip to content

Commit 1129cef

Browse files
committed
chore: delete deprecated worker v1 helm and infra code. (#13984)
1 parent 4070642 commit 1129cef

File tree

18 files changed

+1
-71
lines changed

18 files changed

+1
-71
lines changed

airbyte-commons-with-dependencies/src/main/java/io/airbyte/commons/workers/config/WorkerConfigsProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ record WorkerConfigsDefaults(
157157
@Value("${airbyte.worker.isolated.kube.node-selectors}") String isolatedNodeSelectors,
158158
@Value("${airbyte.worker.isolated.kube.use-custom-node-selector}") boolean useCustomNodeSelector,
159159
@Value("${airbyte.worker.job.kube.main.container.image-pull-secret}") List<String> mainContainerImagePullSecret,
160-
@Value("${airbyte.worker.job.kube.main.container.image-pull-policy}") String mainContainerImagePullPolicy,
161-
@Value("${airbyte.worker.job.kube.sidecar.container.image-pull-policy}") String sidecarContainerImagePullPolicy) {
160+
@Value("${airbyte.worker.job.kube.main.container.image-pull-policy}") String mainContainerImagePullPolicy) {
162161

163162
}
164163

airbyte-commons-with-dependencies/src/test/resources/application-config-test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ airbyte:
4646
container:
4747
image-pull-policy: ${UNUSED_VALUE:}
4848
image-pull-secret: ${UNUSED_VALUE:}
49-
sidecar:
50-
container:
51-
image-pull-policy: ${UNUSED_VALUE:}
5249
tolerations: ${UNUSED_VALUE:}
5350
isolated:
5451
kube:

airbyte-commons-worker/src/main/kotlin/io/airbyte/workers/sync/OrchestratorConstants.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ object OrchestratorConstants {
6161
EnvVar.JOB_KUBE_NAMESPACE,
6262
EnvVar.JOB_KUBE_NODE_SELECTORS,
6363
EnvVar.JOB_KUBE_SERVICEACCOUNT,
64-
EnvVar.JOB_KUBE_SIDECAR_CONTAINER_IMAGE_PULL_POLICY,
6564
EnvVar.JOB_KUBE_TOLERATIONS,
6665
EnvVar.JOB_MAIN_CONTAINER_CPU_LIMIT,
6766
EnvVar.JOB_MAIN_CONTAINER_CPU_REQUEST,

airbyte-commons/src/main/kotlin/io/airbyte/commons/envvar/EnvVar.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ enum class EnvVar {
5656
JOB_KUBE_NAMESPACE,
5757
JOB_KUBE_NODE_SELECTORS,
5858
JOB_KUBE_SERVICEACCOUNT,
59-
JOB_KUBE_SIDECAR_CONTAINER_IMAGE_PULL_POLICY,
6059
JOB_KUBE_TOLERATIONS,
6160
JOB_MAIN_CONTAINER_CPU_LIMIT,
6261
JOB_MAIN_CONTAINER_CPU_REQUEST,

airbyte-server/src/main/resources/application.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,6 @@ airbyte:
287287
container:
288288
image-pull-policy: ${JOB_KUBE_MAIN_CONTAINER_IMAGE_PULL_POLICY:IfNotPresent}
289289
image-pull-secret: ${JOB_KUBE_MAIN_CONTAINER_IMAGE_PULL_SECRET:}
290-
sidecar:
291-
container:
292-
image-pull-policy: ${JOB_KUBE_SIDECAR_CONTAINER_IMAGE_PULL_POLICY:IfNotPresent}
293290
tolerations: ${JOB_KUBE_TOLERATIONS:}
294291
isolated:
295292
kube:

charts/airbyte-worker/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Helm chart to deploy airbyte-worker
3737
| global.jobs.kube.annotations | object | `{}` | |
3838
| global.jobs.kube.images.busybox | string | `""` | |
3939
| global.jobs.kube.images.curl | string | `""` | |
40-
| global.jobs.kube.images.socat | string | `""` | |
4140
| global.jobs.kube.labels | object | `{}` | |
4241
| global.jobs.kube.main_container_image_pull_secret | string | `""` | |
4342
| global.jobs.kube.nodeSelector | object | `{}` | |

charts/airbyte-worker/templates/deployment.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,6 @@ spec:
176176
name: {{ .Release.Name }}-airbyte-env
177177
key: JOB_KUBE_BUSYBOX_IMAGE
178178
{{- end }}
179-
{{- if $.Values.global.jobs.kube.images.socat }}
180-
- name: JOB_KUBE_SOCAT_IMAGE
181-
valueFrom:
182-
configMapKeyRef:
183-
name: {{ .Release.Name }}-airbyte-env
184-
key: JOB_KUBE_SOCAT_IMAGE
185-
{{- end }}
186179
{{- if $.Values.global.jobs.kube.images.curl }}
187180
- name: JOB_KUBE_CURL_IMAGE
188181
valueFrom:

charts/airbyte-worker/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ global:
6969
## busybox image used by the job pod
7070
## jobs.kube.images.busybox [string] busybox image used by the job pod
7171
busybox: ""
72-
## JOB_KUBE_SOCAT_IMAGE
73-
## socat image used by the job pod
74-
## jobs.kube.images.socat [string] socat image used by the job pod
75-
socat: ""
7672
## JOB_KUBE_CURL_IMAGE
7773
## curl image used by the job pod
7874
## jobs.kube.images.curl [string] curl image used by the job pod

charts/airbyte-workload-launcher/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Helm chart to deploy airbyte-workload-launcher
3636
| global.jobs.kube.annotations | object | `{}` | |
3737
| global.jobs.kube.images.busybox | string | `""` | |
3838
| global.jobs.kube.images.curl | string | `""` | |
39-
| global.jobs.kube.images.socat | string | `""` | |
4039
| global.jobs.kube.labels | object | `{}` | |
4140
| global.jobs.kube.main_container_image_pull_secret | string | `""` | |
4241
| global.jobs.kube.nodeSelector | object | `{}` | |

charts/airbyte-workload-launcher/templates/deployment.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,6 @@ spec:
197197
name: {{ .Release.Name }}-airbyte-env
198198
key: JOB_KUBE_BUSYBOX_IMAGE
199199
{{- end }}
200-
{{- if $.Values.global.jobs.kube.images.socat }}
201-
- name: JOB_KUBE_SOCAT_IMAGE
202-
valueFrom:
203-
configMapKeyRef:
204-
name: {{ .Release.Name }}-airbyte-env
205-
key: JOB_KUBE_SOCAT_IMAGE
206-
{{- end }}
207200
{{- if $.Values.global.jobs.kube.images.curl }}
208201
- name: JOB_KUBE_CURL_IMAGE
209202
valueFrom:

0 commit comments

Comments
 (0)