Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: websphere-liberty-operator
namespace: openshift-gitops
spec:
sourceRepos:
- 'https://github.com/WASdev/websphere-liberty-operator'
destinations:
- namespace: '!kube-*'
server: '*'
- namespace: '!openshift-[!o][!p][!e][!r][!a][!t][!o][!r][!s]*'
server: '*'
- namespace: '!openshift-apiserver'
server: '*'
- namespace: '!openshift-kni-infra'
server: '*'
- namespace: '!openshift-[a-z][a-z][a-z][a-z][a-z][a-z][a-z][a-z]'
server: '*'
- namespace: '!openshift-[a-z][a-z][a-z][a-z][a-z][a-z][a-z]'
server: '*'
- namespace: '!openshift-[a-z][a-z][a-z][a-z][a-z][a-z]'
server: '*'
- namespace: '!openshift-[a-z][a-z][a-z][a-z][a-z]'
server: '*'
- namespace: '!openshift-[a-z][a-z][a-z][a-z]'
server: '*'
- namespace: '!openshift-[a-z][a-z][a-z]'
server: '*'
- namespace: '!openshift-[a-z][a-z]'
server: '*'
- namespace: '!openshift-[a-z]'
server: '*'
- namespace: '*'
server: '*'
clusterResourceWhitelist:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
- group: rbac.authorization.k8s.io
kind: ClusterRole
- group: rbac.authorization.k8s.io
kind: ClusterRoleBinding
- group: ''
kind: Namespace
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: websphere-liberty-operator
namespace: openshift-gitops
spec:
project: websphere-liberty-operator
source:
path: deploy/releases/1.4.3/kustomize/overlays/watch-all-namespaces
repoURL: 'https://github.com/WASdev/websphere-liberty-operator'
targetRevision: HEAD
kustomize:
namespace: websphere-liberty
destination:
namespace: websphere-liberty
server: 'https://kubernetes.default.svc'
ignoreDifferences:
- group: ''
kind: ConfigMap
name: websphere-liberty-operator
syncPolicy:
syncOptions:
- ServerSideApply=true
- CreateNamespace=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: websphere-liberty-operator
namespace: openshift-gitops
spec:
sourceRepos:
- 'https://github.com/WASdev/websphere-liberty-operator'
destinations:
- namespace: '!kube-*'
server: '*'
- namespace: '!openshift-*'
server: '*'
- namespace: '*'
server: '*'
clusterResourceWhitelist:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
- group: ''
kind: Namespace
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: websphere-liberty-operator
namespace: openshift-gitops
spec:
project: websphere-liberty-operator
source:
path: deploy/releases/1.4.3/kustomize/overlays/watch-another-namespace/wlo-ns
repoURL: 'https://github.com/WASdev/websphere-liberty-operator'
targetRevision: HEAD
kustomize:
namespace: wlo-ns
destination:
namespace: wlo-ns
server: 'https://kubernetes.default.svc'
ignoreDifferences:
- group: ''
kind: ConfigMap
name: websphere-liberty-operator
syncPolicy:
syncOptions:
- ServerSideApply=true
- CreateNamespace=true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: websphere-liberty-operator-watched-namespace
namespace: openshift-gitops
spec:
project: websphere-liberty-operator
source:
path: deploy/releases/1.4.3/kustomize/overlays/watch-another-namespace/wlo-watched-ns
repoURL: 'https://github.com/WASdev/websphere-liberty-operator'
targetRevision: HEAD
kustomize:
namespace: wlo-watched-ns
destination:
namespace: wlo-watched-ns
server: 'https://kubernetes.default.svc'
ignoreDifferences:
- group: ''
kind: ConfigMap
name: websphere-liberty-operator
syncPolicy:
syncOptions:
- ServerSideApply=true
- CreateNamespace=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: websphere-liberty-operator
namespace: openshift-gitops
spec:
sourceRepos:
- 'https://github.com/WASdev/websphere-liberty-operator'
destinations:
- namespace: '!kube-*'
server: '*'
- namespace: '!openshift-*'
server: '*'
- namespace: '*'
server: '*'
clusterResourceWhitelist:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
- group: ''
kind: Namespace
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: websphere-liberty-operator
namespace: openshift-gitops
spec:
project: websphere-liberty-operator
source:
path: deploy/releases/1.4.3/kustomize/base
repoURL: 'https://github.com/WASdev/websphere-liberty-operator'
targetRevision: HEAD
kustomize:
namespace: websphere-liberty
destination:
namespace: websphere-liberty
server: 'https://kubernetes.default.svc'
ignoreDifferences:
- group: ''
kind: ConfigMap
name: websphere-liberty-operator
syncPolicy:
syncOptions:
- ServerSideApply=true
- CreateNamespace=true
9 changes: 9 additions & 0 deletions deploy/releases/1.4.3/kustomize-argo-cd/readme.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
= Installing the WebSphere Liberty Operator using kustomize with Argo CD

The WebSphere Liberty Operator can be installed using kustomize with Argo CD to:

* watch own namespace
* watch another namespace
* watch all namespaces in the cluster

Follow the instructions in the link:++https://ibm.biz/wlo-install-kustomize-argo-cd++[documentation].