Skip to content

Commit

Permalink
fix: Update HyperShift from TP to GA
Browse files Browse the repository at this point in the history
Signed-off-by: Denilson Nastacio <[email protected]>
  • Loading branch information
nastacio committed Nov 30, 2023
1 parent 88e5266 commit 7399ae0
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 23 deletions.
4 changes: 2 additions & 2 deletions config/argocd-rhacm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.0
version: 0.6.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "0.18.0"
appVersion: "0.18.1"
4 changes: 2 additions & 2 deletions config/argocd-rhacm/templates/0100-rhacm-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ spec:
value: ${ARGOCD_APP_SOURCE_REPO_URL}
- name: serviceaccount.argocd_application_controller
value: {{.Values.serviceaccount.argocd_application_controller}}
- name: spec.components.hypershift_preview
value: "{{.Values.spec.components.hypershift_preview}}"
- name: spec.components.hypershift
value: "{{.Values.spec.components.hypershift}}"
- name: targetRevision
value: {{.Values.targetRevision}}
path: config/argocd-rhacm
Expand Down
4 changes: 2 additions & 2 deletions config/argocd-rhacm/templates/0100-rhacm-seeds-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ spec:
value: ${ARGOCD_APP_SOURCE_REPO_URL}
- name: serviceaccount.argocd_application_controller
value: {{.Values.serviceaccount.argocd_application_controller}}
- name: spec.components.hypershift_preview
value: "{{.Values.spec.components.hypershift_preview}}"
- name: spec.components.hypershift
value: "{{.Values.spec.components.hypershift}}"
- name: targetRevision
value: {{.Values.targetRevision}}
path: config/rhacm/seeds
Expand Down
2 changes: 1 addition & 1 deletion config/argocd-rhacm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ serviceaccount:
argocd_application_controller: openshift-gitops-argocd-application-controller
spec:
components:
hypershift_preview: false
hypershift: false
2 changes: 1 addition & 1 deletion config/argocd/templates/0200-argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ spec:
if obj.status.phase ~= nil then
if obj.status.phase == "Running" then
hs.status = "Healthy"
elseif obj.status.phase == "Installing" then
elseif obj.status.phase == "Installing" or obj.status.phase == "Pending" then
hs.status = "Progressing"
else
hs.status = "Degraded"
Expand Down
2 changes: 1 addition & 1 deletion config/rhacm/seeds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.15.0
version: 0.15.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $hypershift := .Values.spec.components.hypershift_preview }}
{{- $hypershift := .Values.spec.components.hypershift }}
{{- if eq ( default false $hypershift ) true }}
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
7 changes: 0 additions & 7 deletions config/rhacm/seeds/templates/0150-multi-cluster-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,4 @@ metadata:
spec:
availabilityConfig: High
ingress:
sslCiphers:
- ECDHE-ECDSA-AES256-GCM-SHA384
- ECDHE-RSA-AES256-GCM-SHA384
- ECDHE-ECDSA-CHACHA20-POLY1305
- ECDHE-RSA-CHACHA20-POLY1305
- ECDHE-ECDSA-AES128-GCM-SHA256
- ECDHE-RSA-AES128-GCM-SHA256
separateCertificateManagement: false
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ spec:
tolerations:
- key: cluster.open-cluster-management.io/unreachable
operator: Exists
- key: cluster.open-cluster-management.io/unavailable
operator: Exists
predicates:
- requiredClusterSelector:
labelSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ spec:
image: quay.io/openshift/origin-cli:latest
imagePullPolicy: IfNotPresent
env:
- name: HYPERSHIFT_PREVIEW
value: "{{.Values.spec.components.hypershift_preview}}"
- name: HYPERSHIFT
value: "{{.Values.spec.components.hypershift}}"
command:
- /bin/sh
- -c
- |
set -eo pipefail
set -x
oc patch mce multiclusterengine --type=merge -p "{\"spec\":{\"overrides\":{\"components\":[{\"name\":\"hypershift-preview\",\"enabled\": ${HYPERSHIFT_PREVIEW}}]}}}"
oc patch mce multiclusterengine --type=merge -p "{\"spec\":{\"overrides\":{\"components\":[{\"name\":\"hypershift\",\"enabled\": ${HYPERSHIFT}},{\"name\":\"hypershift-local-hosting\",\"enabled\": ${HYPERSHIFT}}]}}}"
restartPolicy: Never
serviceAccountName: {{.Values.serviceaccount.argocd_application_controller}}
Expand Down
2 changes: 1 addition & 1 deletion config/rhacm/seeds/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ metadata:
rhacm_users_group: rhacm-users
spec:
components:
hypershift_preview: false
hypershift: false

0 comments on commit 7399ae0

Please sign in to comment.