Skip to content

Commit

Permalink
fix: update image tags and namespace references in Armonik Helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarrier committed Jan 24, 2025
1 parent 40cc800 commit 147370c
Show file tree
Hide file tree
Showing 14 changed files with 47 additions and 46 deletions.
2 changes: 1 addition & 1 deletion charts/armonik/charts/activemq/templates/certificat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: activemq-crt
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "5"
"helm.sh/hook-weight": "10"
spec:
isCA: false
usages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ spec:
containers:
- name: {{ $.Values.pollingAgent.name }}
{{- if (ne $config.pollingAgent.tag "") }}
image: {{ $config.pollingAgent.image }}:{{ $config.pollingAgent.tag }}
image: "{{ $.Values.registry }}/{{ $config.pollingAgent.image }}:{{ $config.pollingAgent.tag }}"
{{- else }}
image: {{ $config.pollingAgent.image }}
image: {{ $.Values.registry }}/{{ $config.pollingAgent.image }}
{{- end }}
imagePullPolicy: {{ $config.pollingAgent.imagePullPolicy | quote}}
resources:
Expand Down Expand Up @@ -117,7 +117,7 @@ spec:
{{- end }}
{{- range $index, $worker := $config.worker }}
- name: "{{ $worker.name }}-{{ $index }}"
image: "{{ $worker.image }}:{{ $worker.tag | default "" }}"
image: "{{ $.Values.registry }}/{{ $worker.image }}:{{ $worker.tag | default "" }}"
{{- range $config.worker}}
imagePullPolicy: {{ .imagePullPolicy | quote }}
{{- end }}
Expand Down
31 changes: 16 additions & 15 deletions charts/armonik/charts/compute-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ replicaCount: 1
namespace: armonik
shareProcessNamespace: false
restartPolicy: Always
registry: "dockerhubaneo"

computePlane:
metadata:
Expand All @@ -14,8 +15,8 @@ computePlane:
default:
replicas: 1
pollingAgent:
image: "dockerhubaneo/armonik_pollingagent"
tag: "0.30.0"
image: "armonik_pollingagent"
tag: "0.31.0-jgprovidercheck.14.32d68938"
imagePullPolicy: "IfNotPresent"
limits:
cpu: "500m"
Expand Down Expand Up @@ -62,7 +63,7 @@ computePlane:
# ArmoniK workers
worker:
- name: "worker"
image: "dockerhubaneo/armonik_worker_dll"
image: "armonik_worker_dll"
tag: "0.18.0"
imagePullPolicy: "IfNotPresent"
limits:
Expand Down Expand Up @@ -91,8 +92,8 @@ computePlane:
stream:
replicas: 1
pollingAgent:
image: "dockerhubaneo/armonik_pollingagent"
tag: "0.30.0"
image: "armonik_pollingagent"
tag: "0.31.0-jgprovidercheck.14.32d68938"
imagePullPolicy: "IfNotPresent"
limits:
cpu: "500m"
Expand Down Expand Up @@ -141,8 +142,8 @@ computePlane:
# ArmoniK workers
worker:
- name: "worker"
image: "dockerhubaneo/armonik_core_stream_test_worker"
tag: "0.30.0"
image: "armonik_core_stream_test_worker"
tag: "0.31.0-jgprovidercheck.14.32d68938"
imagePullPolicy: "IfNotPresent"
limits:
cpu: "500m"
Expand Down Expand Up @@ -170,8 +171,8 @@ computePlane:
htcmock:
replicas: 1
pollingAgent:
image: "dockerhubaneo/armonik_pollingagent"
tag: "0.30.0"
image: "armonik_pollingagent"
tag: "0.31.0-jgprovidercheck.14.32d68938"
imagePullPolicy: "IfNotPresent"
limits:
cpu: "500m"
Expand Down Expand Up @@ -222,8 +223,8 @@ computePlane:
# ArmoniK workers
worker:
- name: "worker"
image: "dockerhubaneo/armonik_core_htcmock_test_worker"
tag: "0.30.0"
image: "armonik_core_htcmock_test_worker"
tag: "0.31.0-jgprovidercheck.14.32d68938"
imagePullPolicy: "IfNotPresent"
limits:
cpu: "500m"
Expand Down Expand Up @@ -251,8 +252,8 @@ computePlane:
bench:
replicas: 1
pollingAgent:
image: "dockerhubaneo/armonik_pollingagent"
tag: "0.30.0"
image: "armonik_pollingagent"
tag: "0.31.0-jgprovidercheck.14.32d68938"
imagePullPolicy: "IfNotPresent"
limits:
cpu: "500m"
Expand Down Expand Up @@ -301,8 +302,8 @@ computePlane:
# ArmoniK workers
worker:
- name: "worker"
image: "dockerhubaneo/armonik_core_bench_test_worker"
tag: "0.30.0"
image: "armonik_core_bench_test_worker"
tag: "0.31.0-jgprovidercheck.14.32d68938"
imagePullPolicy: "IfNotPresent"
limits:
cpu: "500m"
Expand Down
8 changes: 4 additions & 4 deletions charts/armonik/charts/control-plane/templates/certificat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: armonik-selfsigned-issuer
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "5"
"helm.sh/hook-weight": "10"
spec:
selfSigned: {}
---
Expand All @@ -15,7 +15,7 @@ metadata:
name: ingress-crt
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "5"
"helm.sh/hook-weight": "10"
spec:
isCA: false
usages:
Expand Down Expand Up @@ -46,7 +46,7 @@ metadata:
name: mongodb-crt
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "5"
"helm.sh/hook-weight": "10"
spec:
isCA: false
usages:
Expand Down Expand Up @@ -77,7 +77,7 @@ metadata:
name: redis-crt
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "5"
"helm.sh/hook-weight": "10"
spec:
isCA: false
usages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: armonik
service: fluent-bit
type: logs
name: fluent-bit-config
name: fluent-bit-configmap-armonik
namespace: {{ .Values.namespace }}
data:
filter-kubernetes.conf: |
Expand Down
9 changes: 5 additions & 4 deletions charts/armonik/charts/control-plane/templates/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ spec:
- name: job-partitions-in-database
image: rtsp/mongosh:2.3.8
imagePullPolicy: IfNotPresent
command: ["mongosh"]
args:
command:
- |
-u $MongoDB__User -p $MongoDB__Password mongodb://$MongoDB__Host:$MongoDB__Port/database?authSource=$MongoDB__AuthSource --eval "db.PartitionData.drop()"
-u $MongoDB__User -p $MongoDB__Password mongodb://$MongoDB__Host:$MongoDB__Port/database?authSource=$MongoDB__AuthSource --eval "db.PartitionData.insertMany([{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'bench'},{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'default'},{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'htcmock'},{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'stream'}])"
<<EOF
mongosh -u $MongoDB__User -p $MongoDB__Password mongodb://$MongoDB__Host:$MongoDB__Port/database?authSource=$MongoDB__AuthSource --eval "db.PartitionData.drop()"
mongosh -u $MongoDB__User -p $MongoDB__Password mongodb://$MongoDB__Host:$MongoDB__Port/database?authSource=$MongoDB__AuthSource --eval "db.PartitionData.insertMany([{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'bench'},{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'default'},{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'htcmock'},{'ParentPartitionIds':[],'PodConfiguration':null,'PodMax':100,'PodReserved':1,'PreemptionPercentage':50,'Priority':1,'_id':'stream'}])"
EOF
env:
- name: MongoDB__Password
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
service: partition-metrics-exporter
type: monitoring
name: partition-metrics-exporter
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
selector:
matchLabels:
Expand All @@ -21,11 +21,11 @@ spec:
service: partition-metrics-exporter
type: monitoring
name: partition-metrics-exporter
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
automountServiceAccountToken: true
containers:
- image: {{ .Values.global.registry }}/armonik_control_partition_metrics:{{ .Values.image.tag }}
- image: {{ .Values.registry }}/armonik_control_partition_metrics:{{ .Values.image.tag }}
imagePullPolicy: IfNotPresent
name: partition-metrics-exporter
ports:
Expand Down
2 changes: 1 addition & 1 deletion charts/armonik/charts/control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ replicaCount: 1
registry: "dockerhubaneo"
image:
repository: dockerhubaneo/armonik_control
tag: 0.30.0
tag: "0.31.0-jgprovidercheck.14.32d68938"
pullPolicy: IfNotPresent

grafanaDashboard:
Expand Down
2 changes: 1 addition & 1 deletion charts/armonik/charts/ingress/templates/admin-gui-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: armonik
service: admin-gui
name: admin-gui
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
internalTrafficPolicy: Cluster
ipFamilies:
Expand Down
6 changes: 3 additions & 3 deletions charts/armonik/charts/ingress/templates/admin-gui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: "armonik"
service: "admin-gui"
name: admin-gui
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
selector:
matchLabels:
Expand All @@ -22,11 +22,11 @@ spec:
app: "armonik"
service: "admin-gui"
name: admin-gui
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
automountServiceAccountToken: true
containers:
- image: {{ .Values.global.registry }}/{{ .Values.adminGui.image }}
- image: {{ .Values.registry }}/{{ .Values.adminGui.image }}
imagePullPolicy: {{ .Values.adminGui.imagePullPolicy }}
name: admin-app
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ immutable: false
kind: ConfigMap
metadata:
name: ingress-nginx
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
2 changes: 1 addition & 1 deletion charts/armonik/charts/ingress/templates/ingress-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: "armonik"
service: "ingress"
name: ingress
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
allocateLoadBalancerNodePorts: {{ .Values.ingress.service.allocateLoadBalancerNodePorts }}
externalTrafficPolicy: {{ .Values.ingress.service.externalTrafficPolicy }}
Expand Down
4 changes: 2 additions & 2 deletions charts/armonik/charts/ingress/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
app: armonik
service: ingress
name: ingress
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
progressDeadlineSeconds: {{ .Values.ingress.progressDeadlineSeconds }}
replicas: {{ .Values.ingress.replicaCount }}
Expand All @@ -25,7 +25,7 @@ spec:
app: "armonik"
service: "ingress"
name: ingress
namespace: {{ .Values.global.namespace }}
namespace: {{ .Values.namespace }}
spec:
automountServiceAccountToken: true
containers:
Expand Down
11 changes: 5 additions & 6 deletions charts/armonik/charts/ingress/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
global:
registry: dockerhubaneo
namespace: "armonik"
app:
name: my-app
version: 1.0.0
registry: dockerhubaneo
namespace: "armonik"
app:
name: my-app
version: 1.0.0

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 147370c

Please sign in to comment.