Skip to content

Commit

Permalink
Merge branch 'master' into rich/scala-funcs-test
Browse files Browse the repository at this point in the history
  • Loading branch information
richscott committed Jan 8, 2025
2 parents d533d7d + 33f3a27 commit ef0ff38
Show file tree
Hide file tree
Showing 134 changed files with 3,177 additions and 2,515 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ dockers:
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.base.name=alpine:3.20.3
- --label=org.opencontainers.image.base.name=alpine:3.21.0
- --label=org.opencontainers.image.licenses=Apache-2.0
- --label=org.opencontainers.image.vendor=G-Research
ids:
Expand Down
2 changes: 1 addition & 1 deletion build/armada-load-tester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.20.3
FROM alpine:3.21.0

RUN addgroup -S -g 2000 armada && adduser -S -u 1000 armada -G armada

Expand Down
2 changes: 1 addition & 1 deletion build/armadactl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0
FROM ${BASE_IMAGE}

LABEL org.opencontainers.image.title=armadactl
Expand Down
2 changes: 1 addition & 1 deletion build/binoculars/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=binoculars
LABEL org.opencontainers.image.description="binoculars"
Expand Down
2 changes: 1 addition & 1 deletion build/bundles/armada/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=armada
LABEL org.opencontainers.image.description="Armada Bundle"
Expand Down
2 changes: 1 addition & 1 deletion build/bundles/full/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG NODE_BUILD_IMAGE=node:22.12-bullseye
ARG OPENAPI_BUILD_IMAGE=openapitools/openapi-generator-cli:v5.4.0
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${OPENAPI_BUILD_IMAGE} AS OPENAPI
LABEL org.opencontainers.image.title=armada-full-bundle
Expand Down
2 changes: 1 addition & 1 deletion build/bundles/lookout/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=armada-lookout-bundle
Expand Down
2 changes: 1 addition & 1 deletion build/eventingester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=eventingester
Expand Down
2 changes: 1 addition & 1 deletion build/executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=executor
Expand Down
2 changes: 1 addition & 1 deletion build/fakeexecutor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=fakeexecutor
LABEL org.opencontainers.image.description="Fake Executor"
Expand Down
2 changes: 1 addition & 1 deletion build/loadtester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=loadtester
Expand Down
2 changes: 1 addition & 1 deletion build/lookoutingesterv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=lookoutingesterv2
Expand Down
2 changes: 1 addition & 1 deletion build/lookoutv2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG NODE_BUILD_IMAGE=node:22.12-bullseye
ARG OPENAPI_BUILD_IMAGE=openapitools/openapi-generator-cli:v5.4.0
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${OPENAPI_BUILD_IMAGE} AS OPENAPI

Expand Down
2 changes: 1 addition & 1 deletion build/scheduler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=scheduler
Expand Down
2 changes: 1 addition & 1 deletion build/scheduleringester/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=scheduleringester
Expand Down
2 changes: 1 addition & 1 deletion build/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0

FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=armada-server
Expand Down
2 changes: 1 addition & 1 deletion build/testsuite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=alpine:3.20.3
ARG BASE_IMAGE=alpine:3.21.0
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.title=testsuite
LABEL org.opencontainers.image.description="Test Suite"
Expand Down
2 changes: 1 addition & 1 deletion cmd/armada-load-tester/cmd/loadtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var loadtestCmd = &cobra.Command{
containers:
- name: sleep
imagePullPolicy: IfNotPresent
image: alpine:3.20.3
image: alpine:3.21.0
command:
- sh
args:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "armada.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "armada.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "armada.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
6 changes: 3 additions & 3 deletions deployment/armada/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
metadata:
name: {{ include "armada.name" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
{{- include "armada.labels.all" . | nindent 8 }}
spec:
Expand Down Expand Up @@ -131,8 +131,8 @@ spec:
topologyKey: kubernetes.io/hostname
volumes:
- name: user-config
secret:
secretName: {{ include "armada.config.name" . }}
configMap:
name: {{ include "armada.config.name" . }}
{{- if .Values.applicationConfig.pulsar.authenticationEnabled }}
- name: pulsar-token
secret:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "binoculars.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "binoculars.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "binoculars.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
6 changes: 3 additions & 3 deletions deployment/binoculars/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
metadata:
name: {{ include "binoculars.name" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
{{- include "binoculars.labels.all" . | nindent 8 }}
spec:
Expand Down Expand Up @@ -102,8 +102,8 @@ spec:
topologyKey: kubernetes.io/hostname
volumes:
- name: user-config
secret:
secretName: {{ include "binoculars.config.name" . }}
configMap:
name: {{ include "binoculars.config.name" . }}
{{- if .Values.applicationConfig.grpc.tls.enabled }}
- name: tls-certs
secret:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "event_ingester.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "event_ingester.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "event_ingester.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
6 changes: 3 additions & 3 deletions deployment/event-ingester/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
metadata:
name: {{ include "event_ingester.name" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
{{- include "event_ingester.labels.all" . | nindent 8 }}
spec:
Expand Down Expand Up @@ -87,8 +87,8 @@ spec:
topologyKey: kubernetes.io/hostname
volumes:
- name: user-config
secret:
secretName: {{ include "event_ingester.config.name" . }}
configMap:
name: {{ include "event_ingester.config.name" . }}
{{- if .Values.applicationConfig.pulsar.authenticationEnabled }}
- name: pulsar-token
secret:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "executor.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "executor.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "executor.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{- end }}
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
8 changes: 3 additions & 5 deletions deployment/executor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
metadata:
name: {{ include "executor.name" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
{{- include "executor.labels.all" . | nindent 8 }}
spec:
Expand Down Expand Up @@ -88,12 +88,10 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
volumes:
- name: user-config
secret:
secretName: {{ include "executor.config.name" . }}
configMap:
name: {{ include "executor.config.name" . }}
{{- if .Values.additionalVolumes }}
{{- toYaml .Values.additionalVolumes | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "lookout_ingester_v2.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "lookout_ingester_v2.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "lookout_ingester_v2.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
6 changes: 3 additions & 3 deletions deployment/lookout-ingester-v2/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
metadata:
name: {{ include "lookout_ingester_v2.name" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
{{- include "lookout_ingester_v2.labels.all" . | nindent 8 }}
spec:
Expand Down Expand Up @@ -87,8 +87,8 @@ spec:
topologyKey: kubernetes.io/hostname
volumes:
- name: user-config
secret:
secretName: {{ include "lookout_ingester_v2.config.name" . }}
configMap:
name: {{ include "lookout_ingester_v2.config.name" . }}
{{- if .Values.applicationConfig.pulsar.authenticationEnabled }}
- name: pulsar-token
secret:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "lookout_v2.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "lookout_v2.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "lookout_v2.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
4 changes: 2 additions & 2 deletions deployment/lookout-migration-v2/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ spec:
allowPrivilegeEscalation: false
volumes:
- name: user-config
secret:
secretName: {{ include "lookout_v2.config.name" . }}
configMap:
name: {{ include "lookout_v2.config.name" . }}
{{- if .Values.additionalVolumes }}
{{- toYaml .Values.additionalVolumes | nindent 8 }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "lookout_v2.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "lookout_v2.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "lookout_v2.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
6 changes: 3 additions & 3 deletions deployment/lookout-v2/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
metadata:
name: {{ include "lookout_v2.name" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
{{- include "lookout_v2.labels.all" . | nindent 8 }}
spec:
Expand Down Expand Up @@ -101,8 +101,8 @@ spec:
topologyKey: kubernetes.io/hostname
volumes:
- name: user-config
secret:
secretName: {{ include "lookout_v2.config.name" . }}
configMap:
name: {{ include "lookout_v2.config.name" . }}
{{- if .Values.applicationConfig.tls.enabled }}
- name: tls-certs
secret:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "armada-scheduler.config.name" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "armada-scheduler.labels.all" . | nindent 4 }}
type: Opaque
data:
{{ include "armada-scheduler.config.filename" . }}: |
{{- if .Values.applicationConfig }}
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }}
{{ toYaml .Values.applicationConfig | indent 4 }}
{{- end }}
4 changes: 2 additions & 2 deletions deployment/scheduler-migration/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ spec:
allowPrivilegeEscalation: false
volumes:
- name: user-config
secret:
secretName: {{ include "armada-scheduler.config.name" . }}
configMap:
name: {{ include "armada-scheduler.config.name" . }}
{{- if .Values.additionalVolumes }}
{{- toYaml .Values.additionalVolumes | nindent 8 }}
{{- end }}
Loading

0 comments on commit ef0ff38

Please sign in to comment.