diff --git a/releasenotes/notes/skyline-0cc4caaea4f05714.yaml b/releasenotes/notes/skyline-0cc4caaea4f05714.yaml new file mode 100644 index 0000000000..d4880c00e6 --- /dev/null +++ b/releasenotes/notes/skyline-0cc4caaea4f05714.yaml @@ -0,0 +1,6 @@ +--- +skyline: + - | + Adding a missing oci_image_registry endpoint and secret in the Skyline Helm + chart. +... diff --git a/skyline/templates/secret-registry.yaml b/skyline/templates/secret-registry.yaml new file mode 100644 index 0000000000..da979b3223 --- /dev/null +++ b/skyline/templates/secret-registry.yaml @@ -0,0 +1,17 @@ +{{/* +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/}} + +{{- if and .Values.manifests.secret_registry .Values.endpoints.oci_image_registry.auth.enabled }} +{{ include "helm-toolkit.manifests.secret_registry" ( dict "envAll" . "registryUser" .Chart.Name ) }} +{{- end }} diff --git a/skyline/values.yaml b/skyline/values.yaml index f446932735..fa6d603e0e 100644 --- a/skyline/values.yaml +++ b/skyline/values.yaml @@ -49,6 +49,8 @@ secrets: skyline: public: skyline-tls-public internal: skyline-tls-internal + oci_image_registry: + skyline: skyline-oci-image-registry tls: identity: false @@ -92,6 +94,21 @@ endpoints: port: mysql: default: 3306 + oci_image_registry: + name: oci-image-registry + namespace: oci-image-registry + auth: + enabled: false + skyline: + username: skyline + password: password + hosts: + default: localhost + host_fqdn_override: + default: null + port: + registry: + default: null identity: name: keystone auth: @@ -270,4 +287,5 @@ manifests: service: true ingress: true service_ingress: true + secret_registry: true ...