Skip to content

Commit 2eb03d4

Browse files
authored
Merge pull request #61 from rh-mobb/foster/acm-stuff
added acm spoke hub clusters
2 parents 3a98b2a + a4b3009 commit 2eb03d4

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

charts/letsencrypt-clusterissuer/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: letsencrypt-clusterissuer
33
description: Installs cert-manager operator and creates a Let's Encrypt ACME ClusterIssuer with DNS-01 Route 53 solver (uses IRSA, no static credentials)
4-
version: 1.0.5
4+
version: 1.0.6
55
type: application
66
home: https://rh-mobb.github.io/validated-pattern-helm-charts/
77
icon: https://raw.githubusercontent.com/openshift/console/master/frontend/public/imgs/logos/openshift.svg

charts/letsencrypt-clusterissuer/templates/restart-certmanager-job.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ metadata:
1919
argocd.argoproj.io/hook: Sync
2020
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
2121
rules:
22-
- apiGroups: ["apps"]
23-
resources: ["deployments"]
24-
verbs: ["get", "patch"]
22+
- apiGroups: [""]
23+
resources: ["pods"]
24+
verbs: ["list", "delete"]
2525
---
2626
apiVersion: rbac.authorization.k8s.io/v1
2727
kind: RoleBinding
@@ -63,8 +63,10 @@ spec:
6363
- /bin/sh
6464
- -c
6565
- |
66-
echo "Restarting cert-manager deployment to pick up IRSA annotation..."
67-
oc rollout restart deployment/cert-manager -n cert-manager
68-
oc rollout status deployment/cert-manager -n cert-manager --timeout=120s
69-
echo "cert-manager restarted successfully"
66+
echo "Deleting all cert-manager pods to pick up IRSA annotation..."
67+
oc delete pods --all -n cert-manager
68+
echo "Waiting for pods to come back..."
69+
sleep 30
70+
oc get pods -n cert-manager
71+
echo "cert-manager pods restarted successfully"
7072
{{- end }}

charts/servicemesh-operator-ambient/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: servicemesh-operator-ambient
33
description: Helm chart for deploying Red Hat OpenShift Service Mesh 3 Operator
44
icon: https://raw.githubusercontent.com/openshift/console/master/frontend/public/imgs/logos/openshift.svg
55
type: application
6-
version: 1.3.1
6+
version: 1.3.2
77
appVersion: "3.0"
88
dependencies:
99
- name: helper-status-checker

charts/servicemesh-operator-ambient/templates/operatorgroup.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ metadata:
55
name: {{ .Values.operatorGroup.name | default .Values.subscription.name }}
66
namespace: {{ .Values.namespace }}
77
annotations:
8-
helm.sh/hook: pre-install
9-
helm.sh/hook-weight: "-1"
8+
argocd.argoproj.io/sync-wave: "-1"
109
spec:
1110
{{- if .Values.operatorGroup.targetNamespaces }}
1211
targetNamespaces:

charts/servicemesh-operator-ambient/templates/subscription.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ metadata:
44
name: {{ .Values.subscription.name }}
55
namespace: {{ .Values.namespace }}
66
annotations:
7-
helm.sh/hook: pre-install
8-
helm.sh/hook-weight: "0"
7+
argocd.argoproj.io/sync-wave: "0"
98
spec:
109
channel: {{ .Values.subscription.channel }}
1110
installPlanApproval: {{ .Values.subscription.installPlanApproval }}

0 commit comments

Comments
 (0)