UNCLASSIFIED - NO CUI

Skip to content

PostRender patch for Harbor registry service

Package Merge Request

Package Changes

https://repo1.dso.mil/big-bang/product/packages/harbor/-/blob/1.17.1-bb.5/CHANGELOG.md)

Package MR

big-bang/product/packages/harbor!182 (merged)

For Issue

Closes (link to issue here)

Upgrade Notices

A postRender kustomize patch is configured in the umbrella branch for Harbor template to update the harbor-registry service, addressing a docker cli authentication error as shown below.

Error response from daemon: login attempt to https://harbor.dev.bigbang.mil/v2/ failed with status: 503 Service Unavailable

The patch changes the port name “http-registry” to “registry” in the harbor-service. see the Customize patch below:

{{- define "harbor.fixRegistryPostRender" }}
- kustomize:
    patches:
      - patch: |
          - op: replace
            path: /spec/ports/0
            value:
              name: registry
              port: 5000
        target:
          kind: Service
          name: harbor-registry
{{- end }}
Edited by Joe Foster

Merge request reports

Loading