diff --git a/helm/open-build-service/charts/backend/templates/configmap.yaml b/helm/open-build-service/charts/backend/templates/configmap.yaml index 5eb34bb34976137d47f9940072f596e8ddbf526f..b350201c0bc9560873ae6c9d31e215013a786e17 100644 --- a/helm/open-build-service/charts/backend/templates/configmap.yaml +++ b/helm/open-build-service/charts/backend/templates/configmap.yaml @@ -8,3 +8,4 @@ data: default "" .Values.global.backend.extraConfig ) | quote }} + aptly.conf: {{ default "" .Values.global.backend.aptly | toPrettyJson | quote }} diff --git a/helm/open-build-service/charts/backend/templates/statefulset.yaml b/helm/open-build-service/charts/backend/templates/statefulset.yaml index 24e3002d81ffb52252514488e6c5c120badef39c..79a94215d0e62b6f217da994bf23c69aabb68569 100644 --- a/helm/open-build-service/charts/backend/templates/statefulset.yaml +++ b/helm/open-build-service/charts/backend/templates/statefulset.yaml @@ -75,6 +75,9 @@ spec: - name: backend-extraconfig mountPath: /etc/obs/BSConfig.local.pm subPath: BSConfig.local.pm + - name: backend-extraconfig + mountPath: /etc/obs/aptly.conf + subPath: aptly.conf {{- $logs := list "dispatcher" "dodup" diff --git a/helm/open-build-service/charts/backend/values.yaml b/helm/open-build-service/charts/backend/values.yaml index b77e20ba290faec00872cc07707ca900f2a26ea9..19c5ca6e0b2db13083e4dee049956637273796e4 100644 --- a/helm/open-build-service/charts/backend/values.yaml +++ b/helm/open-build-service/charts/backend/values.yaml @@ -13,8 +13,11 @@ image: global: frontend: {} # host: frontend - backend: {} + backend: # architectures: ["x86_64", "aarch64"] + aptly: + rootDir: /srv/obs/aptly + ppaDistributorID: "" imagePullSecrets: [] nameOverride: "" diff --git a/helm/open-build-service/values.yaml b/helm/open-build-service/values.yaml index e8c1f8e7f082d4ee1e7a3c8514e4bd9f9ce2a182..424b844d857bd4d1283bd5013519420afd2014fd 100644 --- a/helm/open-build-service/values.yaml +++ b/helm/open-build-service/values.yaml @@ -28,6 +28,9 @@ global: # host: backend # extraConfig: | # $ipaccess->{"10.*"} = "rw"; + # aptly: + # rootDir: /srv/obs/aptly + # ppaDistributorID: "" imagePullSecrets: [] nameOverride: ""