-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #272 from sabre1041/openshift-gitops-1.11-support
Update to support OpenShift GitOps 1.11
- Loading branch information
Showing
11 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
openshift-gitops-operator/operator/components/openshift-gitops-operator/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# openshift-gitops-operator | ||
|
||
## Purpose | ||
This component is creates a `Namespace` and `OperatorGroup` to enable the installation of the OpenShift GitOps Operator. | ||
|
||
## Usage | ||
|
||
This component can be added to a base by adding the `components` section to your overlay `kustomization.yaml` file: | ||
|
||
``` | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../base | ||
components: | ||
- ../../components/openshift-gitops-operator | ||
``` |
6 changes: 6 additions & 0 deletions
6
openshift-gitops-operator/operator/components/openshift-gitops-operator/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
resources: | ||
- namespace.yaml | ||
- operatorgroup.yaml |
8 changes: 8 additions & 0 deletions
8
openshift-gitops-operator/operator/components/openshift-gitops-operator/namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: openshift-gitops-operator | ||
annotations: | ||
openshift.io/display-name: "OpenShift GitOps Operator" | ||
labels: | ||
openshift.io/cluster-monitoring: 'true' |
6 changes: 6 additions & 0 deletions
6
openshift-gitops-operator/operator/components/openshift-gitops-operator/operatorgroup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
name: openshift-gitops-operator | ||
namespace: openshift-gitops-operator | ||
spec: {} |
1 change: 1 addition & 0 deletions
1
openshift-gitops-operator/operator/overlays/gitops-1.11/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Installs the *gitops-1.10* channel version of the OpenShift GitOps Operator. This channel tracks updates to OpenShift GitOps 1.10. |
14 changes: 14 additions & 0 deletions
14
openshift-gitops-operator/operator/overlays/gitops-1.11/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- ../../base | ||
|
||
components: | ||
- ../../components/openshift-gitops-operator | ||
|
||
patches: | ||
- target: | ||
kind: Subscription | ||
name: openshift-gitops-operator | ||
path: patch-subscription.yaml |
6 changes: 6 additions & 0 deletions
6
openshift-gitops-operator/operator/overlays/gitops-1.11/patch-subscription.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- op: replace | ||
path: /spec/channel | ||
value: gitops-1.11 | ||
- op: replace | ||
path: /metadata/namespace | ||
value: openshift-gitops-operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
openshift-gitops-operator/operator/overlays/latest/patch-channel.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
openshift-gitops-operator/operator/overlays/latest/patch-subscription.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- op: replace | ||
path: /spec/channel | ||
value: latest | ||
- op: replace | ||
path: /metadata/namespace | ||
value: openshift-gitops-operator |