Closed lightnet328 closed 6 years ago
I noticed strange url of http://registry.example.com:%!s(<nil>)/v2/token
is related to environment variable of REGISTRY_AUTH_SILLY_REALM
.
REGISTRY_AUTH_SILLY_REALM in registry-configmap.yaml: https://github.com/kubic-project/caasp-services/blob/master/contrib/helm-charts/portus/templates/registry-configmap.yaml#L19
Since it was clearly obvious that the value of port was missing, i could fix InvalidURIError
by modifying the configuration as follows.
nginx:
host: registry.example.com
# Added
port: "443"
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
tls:
enabled: true
secretName: example-tls
Pod was crashed after registering my private repository to Portus. This has been deployed by helm.
portus-background has log as follows.
Did I make any mistakes in setting?
The following is configuration used:
Also, information when registering the registry to Portus: