Skip to content

update the registry to point to new proxy endpoint #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

staciegravy
Copy link
Contributor

@staciegravy staciegravy commented May 16, 2025

What does this PR do?

Update the registry to point to the new proxy endpoint. Then we will create a beta tag for 1.7.0-beta.1.

sc-123590

Does this PR introduce a user-facing change?


Testing

Locally I ran a kots install with the SDK subchart and made sure everything came up ok.

laverya
laverya previously approved these changes May 27, 2025
@staciegravy staciegravy force-pushed the staciegraves/sc-123590/update-sdk-to-pull-from-new-registry-proxy branch 2 times, most recently from 29f8e0a to f2f8fd9 Compare May 27, 2025 22:26
laverya
laverya previously approved these changes May 27, 2025
Copy link
Member

@laverya laverya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me but I'm not the most familiar with the build code

@@ -31,7 +31,7 @@ restartPolicy: Always
# Replicated SDK image properties
# If .Values.images is set, it takes precedence over the following settings.
image:
registry: registry.replicated.com # Registry where the image is hosted
registry: proxy.replicated.com # Registry where the image is hosted
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 this is probably the most important one. This is the seed for the template.

@@ -41,7 +41,7 @@ func buildAndPushChartToTTL(
return "", err
}

valuesYAML = strings.Replace(valuesYAML, "registry: registry.replicated.com", fmt.Sprintf("registry: %s", imageRegistry), 1)
valuesYAML = strings.Replace(valuesYAML, "registry: proxy.replicated.com", fmt.Sprintf("registry: %s", imageRegistry), 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the one that comes into play during the validate dagger cal (and the validate ci step). buildAndPushChartToTTL will get called with a imageRegistry val passed to it by the result of buildAndPushImageToTTL which has ttl.sh hard coded:

return "ttl.sh", fmt.Sprintf("automated-%s/replicated-image/replicated-sdk", now), "24h", nil

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(just random notes for all of us)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be changed like it is here.

@staciegravy staciegravy force-pushed the staciegraves/sc-123590/update-sdk-to-pull-from-new-registry-proxy branch from 7f12251 to a3d76aa Compare May 28, 2025 16:46
@staciegravy staciegravy force-pushed the staciegraves/sc-123590/update-sdk-to-pull-from-new-registry-proxy branch from a3d76aa to f8941d1 Compare June 9, 2025 20:47
Copy link
Member

@pandemicsyn pandemicsyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validate action looks right. I see proxy in https://github.com/replicatedhq/replicated-sdk/actions/runs/15544315359/job/43762284672#step:3:4775 and i see a replicated pod in the cluster.

240 : [11m3s] | NAME                                   READY   STATUS    RESTARTS   AGE
240 : [11m3s] | replicated-cbcc9cb9f-src94             1/1     Running   0          18s
240 : [11m3s] | replicated-ssl-test-65df659864-q7qbn   1/1     Running   0          14s
240 : [11m3s] | test-chart-5d94979fb7-txm7v            1/1     Running   0          44s

@staciegravy staciegravy merged commit c08ffff into main Jun 11, 2025
2 checks passed
@staciegravy staciegravy deleted the staciegraves/sc-123590/update-sdk-to-pull-from-new-registry-proxy branch June 11, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants