Skip to content

Commit 6058ecc

Browse files
authored
chore: releasing script supports new directory structure (#238)
- Updated `update-manifests-images.py` to point to proper `kustomization.yaml` locations - Changed image references in deployment and kustomization files for centraldashboard, centraldashboard-angular, and poddefaults-webhooks to use simplified names. This aligns with the new naming convention in `profile-controller` and `access-management` Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
1 parent b43dff3 commit 6058ecc

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

components/centraldashboard-angular/manifests/kustomize/base/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: dashboard-angular
17-
image: ghcr.io/kubeflow/dashboard/dashboard-angular
17+
image: dashboard-angular
1818
imagePullPolicy: IfNotPresent
1919
livenessProbe:
2020
httpGet:

components/centraldashboard-angular/manifests/kustomize/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resources:
1414
- configmap.yaml
1515

1616
images:
17-
- name: ghcr.io/kubeflow/dashboard/dashboard-angular
17+
- name: dashboard-angular
1818
newName: ghcr.io/kubeflow/dashboard/dashboard-angular
1919
newTag: latest
2020

components/centraldashboard/manifests/kustomize/base/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: dashboard
17-
image: ghcr.io/kubeflow/dashboard/dashboard
17+
image: dashboard
1818
imagePullPolicy: IfNotPresent
1919
livenessProbe:
2020
httpGet:

components/centraldashboard/manifests/kustomize/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resources:
1414
- configmap.yaml
1515

1616
images:
17-
- name: ghcr.io/kubeflow/dashboard/dashboard
17+
- name: dashboard
1818
newName: ghcr.io/kubeflow/dashboard/dashboard
1919
newTag: latest
2020

components/poddefaults-webhooks/manifests/kustomize/base/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
labels: {}
1414
spec:
1515
containers:
16-
- image: ghcr.io/kubeflow/dashboard/poddefaults-webhook
16+
- image: poddefaults-webhook
1717
name: poddefaults-webhook
1818
ports:
1919
- name: https-webhook

components/poddefaults-webhooks/manifests/kustomize/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resources:
1414
- user_cluster_roles.yaml
1515

1616
images:
17-
- name: ghcr.io/kubeflow/dashboard/poddefaults-webhook
17+
- name: poddefaults-webhook
1818
newName: ghcr.io/kubeflow/dashboard/poddefaults-webhook
1919
newTag: latest
2020

releasing/update-manifests-images.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,30 @@ def __init__(self, *args, **kwargs):
3535
applications = [
3636
{
3737
"name": "Pod Defaults Webhook",
38-
"kustomization": "components/poddefaults-webhooks/manifests/base/kustomization.yaml",
38+
"kustomization": "components/poddefaults-webhooks/manifests/kustomize/base/kustomization.yaml",
3939
"images": [
4040
{
41-
"name": "ghcr.io/kubeflow/dashboard/poddefaults-webhook",
41+
"name": "poddefaults-webhook",
4242
"newName": "ghcr.io/kubeflow/dashboard/poddefaults-webhook",
4343
},
4444
],
4545
},
4646
{
4747
"name": "Central Dashboard",
48-
"kustomization": "components/centraldashboard/manifests/base/kustomization.yaml",
48+
"kustomization": "components/centraldashboard/manifests/kustomize/base/kustomization.yaml",
4949
"images": [
5050
{
51-
"name": "ghcr.io/kubeflow/dashboard/dashboard",
51+
"name": "dashboard",
5252
"newName": "ghcr.io/kubeflow/dashboard/dashboard",
5353
},
5454
],
5555
},
5656
{
5757
"name": "Central Dashboard Angular",
58-
"kustomization": "components/centraldashboard-angular/manifests/base/kustomization.yaml",
58+
"kustomization": "components/centraldashboard-angular/manifests/kustomize/base/kustomization.yaml",
5959
"images": [
6060
{
61-
"name": "ghcr.io/kubeflow/dashboard/dashboard-angular",
61+
"name": "dashboard-angular",
6262
"newName": "ghcr.io/kubeflow/dashboard/dashboard-angular",
6363
},
6464
],

0 commit comments

Comments
 (0)