Skip to content

Commit ba24524

Browse files
committed
2 parents b904687 + 96926e7 commit ba24524

77 files changed

Lines changed: 1401 additions & 248 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.woodpecker/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
platform: linux/amd64
2-
31
labels:
42
type: exec
3+
platform: linux/amd64
54

6-
pipeline:
5+
steps:
76
- name: check
87
image: bash
98
commands:

addons/airflow/2/chart/airflow/templates/_git_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ Usage:
100100
. /opt/drycc/scripts/libfs.sh
101101
{{- if .context.Values.git.dags.enabled }}
102102
{{- range .context.Values.git.dags.repositories }}
103-
is_dir_empty "/dags/{{ include "airflow.git.repository.name" . }}" && git clone {{ .repository }} --branch {{ .branch }} /dags/{{ include "airflow.git.repository.name" . }}
103+
is_dir_empty "/dags/{{ include "airflow.git.repository.name" . }}" && git clone {{ .repository }} --branch {{ .branch }} /dags/{{ include "airflow.git.repository.name" . }} && cd /dags/{{ include "airflow.git.repository.name" . }} && git config pull.rebase true
104104
{{- end }}
105105
{{- end }}
106106
{{- if .context.Values.git.plugins.enabled }}
107107
{{- range .context.Values.git.plugins.repositories }}
108-
is_dir_empty "/plugins/{{ include "airflow.git.repository.name" . }}" && git clone {{ .repository }} --branch {{ .branch }} /plugins/{{ include "airflow.git.repository.name" . }}
108+
is_dir_empty "/plugins/{{ include "airflow.git.repository.name" . }}" && git clone {{ .repository }} --branch {{ .branch }} /plugins/{{ include "airflow.git.repository.name" . }} cd /plugins/{{ include "airflow.git.repository.name" . }} && git config pull.rebase true
109109
{{- end }}
110110
{{- end }}
111111
{{- end }}

addons/airflow/2/chart/airflow/templates/web/networkpolicy-web.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ spec:
1717
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
1818
app.kubernetes.io/component: web
1919
ingress:
20+
{{- if eq .Values.service.type "LoadBalancer" }}
21+
- {}
22+
{{- else }}
2023
{{- if or .Values.networkPolicy.allowCurrentNamespace .Values.networkPolicy.allowNamespaces }}
2124
- from:
2225
{{- if .Values.networkPolicy.allowCurrentNamespace }}
@@ -32,4 +35,5 @@ spec:
3235
{{- end }}
3336
{{- end }}
3437
{{- end }}
38+
{{- end }}
3539
{{- end }}

addons/flink/1.17/chart/flink/templates/jobmanager/networkpolicy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ spec:
5959
{{- end }}
6060
{{- end }}
6161
ingress:
62+
{{- if eq .Values.jobmanager.service.type "LoadBalancer" }}
63+
- {}
64+
{{- else }}
6265
- ports:
6366
- port: {{ .Values.jobmanager.containerPorts.blob }}
6467
- port: {{ .Values.jobmanager.containerPorts.rpc }}
@@ -91,4 +94,5 @@ spec:
9194
{{- if .Values.jobmanager.networkPolicy.extraIngress }}
9295
{{- include "common.tplvalues.render" ( dict "value" .Values.jobmanager.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
9396
{{- end }}
97+
{{- end }}
9498
{{- end }}

addons/flink/1.17/chart/flink/templates/taskmanager/networkpolicy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ spec:
5959
{{- end }}
6060
{{- end }}
6161
ingress:
62+
{{- if eq .Values.taskmanager.service.type "LoadBalancer" }}
63+
- {}
64+
{{- else }}
6265
- ports:
6366
- port: {{ .Values.taskmanager.containerPorts.data }}
6467
- port: {{ .Values.taskmanager.containerPorts.rpc }}
@@ -90,4 +93,5 @@ spec:
9093
{{- if .Values.taskmanager.networkPolicy.extraIngress }}
9194
{{- include "common.tplvalues.render" ( dict "value" .Values.taskmanager.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
9295
{{- end }}
96+
{{- end }}
9397
{{- end }}

addons/kafka/3.6/chart/kafka/templates/network-policy/networkpolicy-ingress.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
policyTypes:
2020
- Ingress
2121
ingress:
22+
{{- if eq .Values.service.type "LoadBalancer" }}
23+
- {}
24+
{{- else }}
2225
# Allow client connections
2326
- ports:
2427
- port: {{ .Values.listeners.client.containerPort }}
@@ -56,4 +59,5 @@ spec:
5659
- ports:
5760
- port: {{ .Values.metrics.kafka.containerPorts.metrics }}
5861
{{- end }}
62+
{{- end }}
5963
{{- end }}

addons/minio/2023/chart/minio/templates/networkpolicy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ spec:
1515
podSelector:
1616
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
1717
ingress:
18+
{{- if eq .Values.service.type "LoadBalancer" }}
19+
- {}
20+
{{- else }}
1821
# Allow inbound connections
1922
- ports:
2023
- port: {{ .Values.containerPorts.console }}
@@ -42,4 +45,5 @@ spec:
4245
{{- toYaml .Values.networkPolicy.extraFromClauses | nindent 8 }}
4346
{{- end }}
4447
{{- end }}
48+
{{- end }}
4549
{{- end }}

addons/minio/2023/plans/standard-v4s1024/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ fullnameOverride: hb-minio-standard-10
1313
##
1414
resources:
1515
limits:
16-
cpu: 2000m
17-
memory: 8192Mi
16+
cpu: 4000m
17+
memory: 16Gi
1818
requests:
19-
cpu: 200m
20-
memory: 4096Mi
19+
cpu: 400m
20+
memory: 8Gi
2121

2222
## @section Persistence parameters
2323

addons/minio/2023/plans/standard-v4s128/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ fullnameOverride: hb-minio-standard-10
1414
resources:
1515
limits:
1616
cpu: 1000m
17-
memory: 1024Mi
17+
memory: 2048Mi
1818
requests:
1919
cpu: 100m
20-
memory: 512Mi
20+
memory: 1024Mi
2121

2222
## @section Persistence parameters
2323

addons/minio/2023/plans/standard-v4s256/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ fullnameOverride: hb-minio-standard-10
1313
##
1414
resources:
1515
limits:
16-
cpu: 1000m
17-
memory: 2048Mi
16+
cpu: 2000m
17+
memory: 4Gi
1818
requests:
19-
cpu: 100m
20-
memory: 1024Mi
19+
cpu: 200m
20+
memory: 2Gi
2121

2222
## @section Persistence parameters
2323

0 commit comments

Comments
 (0)