Skip to content

Commit 2b44f84

Browse files
committed
Update to openshift-gitops 1.12.3.
1 parent 2d02b29 commit 2b44f84

4 files changed

+27
-7
lines changed

2-argocd/namespace-gitops.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
kind: Namespace
3+
apiVersion: v1
4+
metadata:
5+
name: openshift-gitops-operator
6+
labels:
7+
kubernetes.io/metadata.name: openshift-gitops-operator
8+
spec:
9+
finalizers:
10+
- kubernetes

2-argocd/operatorgroup-gitops.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
apiVersion: operators.coreos.com/v1
3+
kind: OperatorGroup
4+
metadata:
5+
name: openshift-gitops-operator
6+
namespace: openshift-gitops-operator
7+
spec:
8+
upgradeStrategy: Default

2-argocd/subscription-gitops.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ apiVersion: operators.coreos.com/v1alpha1
33
kind: Subscription
44
metadata:
55
name: openshift-gitops-operator
6-
namespace: openshift-operators
6+
namespace: openshift-gitops-operator
77
spec:
8-
channel: gitops-1.11
8+
channel: gitops-1.12
99
installPlanApproval: Automatic
1010
name: openshift-gitops-operator
1111
source: redhat-operators
1212
sourceNamespace: openshift-marketplace
13-
startingCSV: openshift-gitops-operator.v1.11.0
13+
startingCSV: openshift-gitops-operator.v1.12.3

README.org

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#+TITLE: OpenShift GitOps with ArgoCD Vault Sidecar
22
#+AUTHOR: James Blair <[email protected]>
3-
#+DATE: <2023-05-25 Thu 09:00>
3+
#+DATE: <2024-06-23 Sun 13:00>
44

55

66
This repository is intended to be a refreshed guide for deploying [[https://github.com/redhat-developer/gitops-operator][OpenShift GitOps]] with the [[https://github.com/argoproj-labs/argocd-vault-plugin][ArgoCD Vault Plugin]] to retrieve secrets from a [[https://github.com/hashicorp/vault][Hashicorp Vault]] instance and inject them into Kubernetes resources.
@@ -12,7 +12,7 @@ This guide builds on previous work like [[https://cloud.redhat.com/blog/how-to-u
1212

1313
* Pre-requisites
1414

15-
This guide assumes you have a running OpenShift 4.10+ cluster with administrative privileges on that cluster. In my case I will be running a Red Hat OpenShift on AWS 4.13 cluster provisioned through the Red Hat demo system.
15+
This guide assumes you have a running OpenShift 4.12+ cluster with administrative privileges on that cluster. In my case I will be running a Red Hat OpenShift 4.15 cluster provisioned through the Red Hat demo system.
1616

1717
Additionally, ensure you are logged into the cluster in a terminal environment with ~oc~ and ~helm~ binaries available before proceeding with any of the following steps:
1818

@@ -99,11 +99,13 @@ oc --namespace vplugindemo create -f 2-argocd/configmap-plugin.yaml
9999

100100
With vault deployed, configured and our argocd vault plugin configured, let's now deploy the OpenShift GitOps operator.
101101

102-
Note: The below operator subscription is pinned specifically to ~v1.11.0~ from the ~gitops-1.11~ release channel.
102+
Note: The below operator subscription is pinned specifically to ~v1.12.3~ from the ~gitops-1.12~ release channel.
103103

104104
#+NAME: Deploy openshift gitops operator
105105
#+BEGIN_SRC bash
106-
oc --namespace openshift-operators create -f 2-argocd/subscription-gitops.yaml
106+
oc --namespace openshift-gitops-operator create -f 2-argocd/namespace-gitops.yaml
107+
oc --namespace openshift-gitops-operator create -f 2-argocd/operatorgroup-gitops.yaml
108+
oc --namespace openshift-gitops-operator create -f 2-argocd/subscription-gitops.yaml
107109
#+END_SRC
108110

109111

0 commit comments

Comments
 (0)