Skip to content

Commit 8af9f5c

Browse files
committed
Add argocd plugins
Signed-off-by: Patrick Knight <pknight@redhat.com>
1 parent 5018365 commit 8af9f5c

14 files changed

Lines changed: 2746 additions & 0 deletions

.env.sample

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ OCM_HUB_NAME="<SOME_OCM_HUB_NAME>"
88

99
# Demo Data Configuration
1010
POPULATE_DEMO_DATA=true # Set to false to skip demo data population
11+
12+
# ArgoCD Configuration (Optional - auto-discovered if not set)
13+
# ARGOCD_URL="<ARGOCD_SERVER_URL>"
14+
# ARGOCD_USERNAME="admin"
15+
# ARGOCD_PASSWORD="<ARGOCD_PASSWORD>"

config-plugins.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ declare -A PACKAGE_TO_CATEGORY=(
3131
# Nexus Repository Manager - requires Nexus operator deployment
3232
["plugin-nexus-repository-manager"]="NEXUS"
3333

34+
# ArgoCD - requires ArgoCD operator deployment
35+
# Supports 4 plugins (use both from same repository):
36+
# RoadieHQ: @roadiehq/backstage-plugin-argo-cd + @roadiehq/backstage-plugin-argo-cd-backend
37+
# Backstage Community: @backstage-community/plugin-argocd + @backstage-community/plugin-argocd-backend
38+
["plugin-argo-cd"]="ARGOCD"
39+
["plugin-argocd"]="ARGOCD"
40+
3441
#Kubernetes - needs ServiceAccount token setup
3542
["plugin-kubernetes-backend"]="KUBERNETES"
3643
["plugin-kubernetes"]="KUBERNETES"
@@ -47,6 +54,7 @@ declare -A CATEGORY_SETUP_FUNCTIONS=(
4754
[OCM]="deploy_acm config_secrets_for_ocm_plugins deploy_multicluster_hub apply_ocm_labels"
4855
[3SCALE]="copy_3scale_files deploy_3scale deploy_minio deploy_3scale_resources"
4956
[NEXUS]="deploy_nexus wait_for_nexus_operator_and_deploy_instance wait_for_nexus_instance config_secrets_for_nexus_plugins apply_nexus_labels populate_nexus_demo_data register_nexus_demo_catalog_entities"
57+
[ARGOCD]="deploy_argocd wait_for_argocd_operator_and_deploy_instance wait_for_argocd_instance_and_deploy_demo_applications config_secrets_for_argocd_plugins apply_argocd_labels register_argocd_demo_catalog_entities"
5058
[KUBERNETES]="config_secrets_for_kubernetes_plugins"
5159
)
5260

@@ -56,6 +64,7 @@ declare -A CATEGORY_TEARDOWN_FUNCTIONS=(
5664
[OCM]="uninstall_acm"
5765
[3SCALE]="uninstall_3scale"
5866
[NEXUS]="uninstall_nexus"
67+
[ARGOCD]="uninstall_argocd"
5968
[KUBERNETES]=":"
6069
)
6170

deploy/secret-template.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ stringData:
3838
# Optional: Nexus Repository Manager (Frontend Proxy)
3939
NEXUS_URL: ""
4040
NEXUS_AUTH_HEADER: ""
41+
42+
# Optional: ArgoCD Configuration (supports both RoadieHQ and Backstage Community plugins)
43+
ARGOCD_URL: ""
44+
ARGOCD_USERNAME: ""
45+
ARGOCD_PASSWORD: ""
46+
ARGOCD_AUTH_TOKEN: ""

0 commit comments

Comments
 (0)