-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a5102c
commit 05156c9
Showing
45 changed files
with
4,116 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: CatalogSource | ||
metadata: | ||
name: argocd-catalog | ||
namespace: argocd | ||
spec: | ||
sourceType: grpc | ||
image: quay.io/disposab1e/argocd-operator-helm-registry:0.0.2 | ||
displayName: Argo CD Operators | ||
publisher: Argo CD |
472 changes: 472 additions & 0 deletions
472
...catalog/argocd-operator-helm/0.0.2/argocd-operator-helm.v0.0.2.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
deploy/olm-catalog/argocd-operator-helm/0.0.2/argoproj.io_argocds_crd.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,19 @@ | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: argocds.argoproj.io | ||
spec: | ||
group: argoproj.io | ||
names: | ||
kind: ArgoCD | ||
listKind: ArgoCDList | ||
plural: argocds | ||
singular: argocd | ||
scope: Namespaced | ||
subresources: | ||
status: {} | ||
version: v1alpha1 | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true |
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: operators.coreos.com/v1alpha2 | ||
kind: OperatorGroup | ||
metadata: | ||
name: argocd-operator-helm | ||
namespace: argocd | ||
spec: | ||
targetNamespaces: | ||
- argocd |
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,10 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: argocd-operator-helm | ||
namespace: argocd | ||
spec: | ||
channel: alpha | ||
name: argocd-operator-helm | ||
source: argocd-catalog | ||
sourceNamespace: olm |
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,31 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: argocd-operator-helm | ||
namespace: argocd | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
name: argocd-operator-helm | ||
template: | ||
metadata: | ||
labels: | ||
name: argocd-operator-helm | ||
spec: | ||
serviceAccountName: argocd-operator-helm | ||
containers: | ||
- name: argocd-operator-helm | ||
image: quay.io/disposab1e/argocd-operator-helm:v0.0.2 | ||
imagePullPolicy: Always | ||
env: | ||
- name: WATCH_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
- name: POD_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.name | ||
- name: OPERATOR_NAME | ||
value: "argocd-operator-helm" |
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,81 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
name: argocd-operator-helm | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- namespaces | ||
- pods | ||
- services | ||
- services/finalizers | ||
- endpoints | ||
- events | ||
- configmaps | ||
- secrets | ||
- serviceaccounts | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- deployments | ||
- replicasets | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- apps | ||
resourceNames: | ||
- argocd-operator-helm | ||
resources: | ||
- deployments/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
verbs: | ||
- get | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- replicasets | ||
verbs: | ||
- get | ||
- apiGroups: | ||
- argoproj.io | ||
resources: | ||
- '*' | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- route.openshift.io | ||
resources: | ||
- '*' | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- monitoring.coreos.com | ||
resources: | ||
- prometheuses | ||
- servicemonitors | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- apiextensions.k8s.io | ||
resources: | ||
- customresourcedefinitions | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
resources: | ||
- clusterrolebindings | ||
- clusterroles | ||
- rolebindings | ||
- roles | ||
verbs: | ||
- '*' |
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,13 @@ | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: argocd-operator-helm | ||
namespace: argocd | ||
subjects: | ||
- kind: ServiceAccount | ||
name: argocd-operator-helm | ||
namespace: argocd | ||
roleRef: | ||
kind: ClusterRole | ||
name: argocd-operator-helm | ||
apiGroup: rbac.authorization.k8s.io |
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,4 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: argocd-operator-helm |
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,3 @@ | ||
User-agent: * | ||
Disallow: /en/0.0.1/ | ||
Disallow: /en/stable |
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,9 @@ | ||
.. code-block:: bash | ||
|
||
kubectl get ArgoCDs argocd -n argocd | ||
|
||
kubectl rollout status -w deployment/argocd-application-controller -n argocd | ||
kubectl rollout status -w deployment/argocd-dex-server -n argocd | ||
kubectl rollout status -w deployment/argocd-redis -n argocd | ||
kubectl rollout status -w deployment/argocd-repo-server -n argocd | ||
kubectl rollout status -w deployment/argocd-server -n argocd |
21 changes: 21 additions & 0 deletions
21
docs/source/_static/kubernetes_operator_manual_installation.txt
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,21 @@ | ||
Manual | ||
------ | ||
|
||
You can install the operator from local sources without having to install an OLM Catalog. | ||
|
||
.. Note:: No channel subscription and automatic operator updates available with this method. | ||
|
||
.. image:: https://img.shields.io/badge/git%20clone-https%3A%2F%2Fgithub.com%2Fdisposab1e%2Fargocd--operator--helm.git-9cf.svg | ||
:target: https://github.com/disposab1e/argocd-operator-helm | ||
:alt: git clone | ||
|
||
.. code-block:: bash | ||
|
||
kubectl apply -f guides/kubernetes/manual/namespace.yaml | ||
kubectl apply -f guides/kubernetes/manual/service_account.yaml | ||
kubectl apply -f guides/kubernetes/manual/role.yaml | ||
kubectl apply -f guides/kubernetes/manual/role_binding.yaml | ||
kubectl apply -f guides/kubernetes/manual/crd.yaml | ||
kubectl apply -f guides/kubernetes/manual/deployment.yaml | ||
|
||
kubectl rollout status -w deployment/argocd-operator-helm -n argocd |
20 changes: 20 additions & 0 deletions
20
docs/source/_static/kubernetes_operator_olm_installation.txt
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,20 @@ | ||
Operator Lifecycle Manager | ||
-------------------------- | ||
|
||
This installation method installs the operator using an `OLM Catalog`_. | ||
|
||
.. _OLM Catalog: https://quay.io/repository/disposab1e/argocd-operator-helm-registry | ||
|
||
.. image:: https://img.shields.io/badge/git%20clone-https%3A%2F%2Fgithub.com%2Fdisposab1e%2Fargocd--operator--helm.git-9cf.svg | ||
:target: https://github.com/disposab1e/argocd-operator-helm | ||
:alt: git clone | ||
|
||
.. code-block:: bash | ||
|
||
kubectl apply -f guides/kubernetes/olm/namespace.yaml | ||
kubectl apply -f guides/kubernetes/olm/catalog-source.yaml | ||
kubectl apply -f guides/kubernetes/olm/operator-group.yaml | ||
kubectl apply -f guides/kubernetes/olm/subscription.yaml | ||
|
||
kubectl rollout status -w deployment/argocd-operator-helm -n argocd | ||
|
Oops, something went wrong.