Closed brudnak closed 2 years ago
@aalves08 I'm guessing this is to do with the secondary resource changes - can you take a look
Component | Version / Type |
---|---|
Rancher version | v2.7-9f1e0435bb45e104ba897c5c329e1f23735843d9-head |
Installation option | Helm (high availability) |
If Helm Chart k8s cluster | v1.24.6+k3s1 |
Cert Details | Let's Encrypt / traefik |
k3s ha external db | Aurora MySQL 5.7.mysql_aurora.2.10.2 |
Helm version | v2.16.8-rancher2 |
Downstream cluster type | RKE1 Linode |
Downstream K8s version | v1.24.6-rancher1-1 |
Authentication providers enabled | local & GitHub |
Logged in user role | Administrator & Standard User |
Browser type | Google Chrome |
Browser version | 106.0.5249.119 (Official Build) (x86_64) |
Image
section in deployments ==> click the drop down for Pull Secrets
To be able to use a registry secret to launch a workload with a private image from Dockerhub
Was able to use a registry secret to launch a workload with a private image from Dockerhub
Scenario | Steps | Expected | Actual & Pass/Fail |
---|---|---|---|
Unsure that using a pull secret works for all Workload types |
|
Expected: To be able to use a registry secret to launch a workload with a private image from Dockerhub | Actual: Was able to use a registry secret to launch a workload with a private image from Dockerhub Pass/Fail: β PASS |
Secret created with kubectl shows up |
|
Expected: Secret created with kubectl shows up in the drop down | Actual: Secret created with kubectl did show up in the drop down Pass/Fail: β PASS |
Secret is useable |
|
Expected: Private image to successfully pull | Actual: Private image was pulled and successfully ran Pass/Fail: β PASS |
Reproduction Environment
traefik
π¨ Additional Reproduction Setup Details: Click to Expand
```shell helm install rancher rancher-latest/rancher \ --namespace cattle-system \ --set hostname=$URL_VAR \ --set bootstrapPassword=$PW_VAR \ --set ingress.tls.source=letsEncrypt \ --set letsEncrypt.email=$EMAIL_VAR \ --set letsEncrypt.ingress.class=traefik \ --version 2.6.9 \ --set rancherImageTag=v2.7-head ```Describe the bug
Unable to create a deployment using a private docker image. Unable to select a
Pull Secrets
from the UI.Reproduction steps
Image
section in deployments ==> click the drop down forPull Secrets
Sorry, no matching options
When checking the network tab in the browser dev tools, it looks like the secrets endpoint that is being hit is
<rancher-url>/api/v1/namespaces/default/secrets
although in 2.6.8 and 2.6.9 the secrets endpoint that gets hit on the same page is<rancher-url>/v1/secrets
.Additional Info
RESULTS
β Expected
Expected to be able to create a deployment with a private image from Dockerhub.
β Actual
Was unable to create a deployment with a private image from Dockerhub because the UI is not giving options to choose a set pull secret.