This file contains hidden or 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
graph TD | |
W1["Worker 1<br><small>Storage</small>"] | |
W2["Worker 2<br><small>Storage</small>"] | |
W3["Worker 3<br><small>Storage</small>"] | |
W4["Worker 4<br><small>Storage</small>"] | |
W5["Worker 5<br><small>GPFS Client</small>"] | |
W6["Worker 6<br><small>GPFS Client</small>"] | |
W7["Worker 7"] | |
W8["Worker 8"] |
This file contains hidden or 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
1. Make sure that the only existing gitops subscription has the | |
`ARGOCD_CLUSTER_CONFIG_NAMESPACE` env variable set to `*` | |
2. Go to the namespaced argo (pattern-sample) UI, choose Settings -> Cluster -> | |
Local kubernetes. Make sure you removed any labels or namespaces after clicking | |
on the edit button on the top right corner. See image below for how it | |
should look in the end | |
3. After that it should be able to apply everything from the pattern-sample argo instance |
This file contains hidden or 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
--- | |
apiVersion: policy.open-cluster-management.io/v1 | |
kind: Policy | |
metadata: | |
annotations: | |
argocd.argoproj.io/compare-options: IgnoreExtraneous | |
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | |
labels: | |
argocd.argoproj.io/instance: acm | |
name: acm-hub-ca-policy |
This file contains hidden or 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
cat >Makefile<<EOF | |
all: | |
ruby test.rb metadata.yaml sizing-template.adoc.erb | |
EOF | |
cat >metadata.yaml<<EOF | |
version: 1.0 | |
pattern: industrial-edge | |
repo_url: https://github.com/validatedpatterns/industrial-edge | |
docs_repo_url: https://github.com/validatedpatterns/docs |
This file contains hidden or 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
because argo does this nonsense: | |
helm template . --name-template acm --namespace open-cluster-management --kube-version 1.29 --set global.clusterDomain=sno1.ocplab.ocp --set global.clusterPlatform=None --set global.multiSourceRepoUrl=https://charts.validatedpatterns.io/ --set global.multiSourceTargetRevision=0.9.* --set global.localClusterDomain=apps.sno1.ocplab.ocp --set global.privateRepo=false --set global.repoURL=https://github.com/mbaldessari/multicloud-gitops --set global.originURL= --set global.targetRevision=acm-2.12 --set global.clusterVersion=4.16 --set global.hubClusterDomain=apps.sno1.ocplab.ocp --set global.experimentalCapabilities= --set global.pattern=multicloud-gitops --set global.namespace=open-cluster-management --set global.multiSourceSupport=true --values /tmp/_argocd-repo/4cdbb865-8d6f-4f91-a273-84545d5d64f7/values-global.yaml --values /tmp/_argocd-repo/4cdbb865-8d6f-4f91-a273-84545d5d64f7/values-hub.yaml --values /tmp/d66bde2d-1ad4-431f-aed7-61502ba1f759 --api-versions admissionregistra |
This file contains hidden or 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
--- | |
- hosts: localhost | |
gather_facts: false | |
vars: | |
vault_pod: "vault-0" | |
vault_pods_list: | |
- "vault-0" | |
tasks: | |
- name: Set followers | |
ansible.builtin.set_fact: |
This file contains hidden or 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
diff --git a/Makefile b/Makefile | |
index 4c1191881..264ae6777 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -65,6 +65,7 @@ DOCKER_SRC_MOUNT="$(DOCKER_SRCDIR):/go/src$(VOLUME_MOUNT)" | |
else | |
DOCKER_SRC_MOUNT="$(PWD):/go/src/github.com/argoproj/argo-cd$(VOLUME_MOUNT)" | |
endif | |
+DOCKER_RUN_OPTIONAL_ARGS?= | |
This file contains hidden or 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: bandini | |
namespace: imperative | |
spec: | |
serviceAccount: imperative-sa | |
containers: | |
- image: quay.io/hybridcloudpatterns/utility-container:latest | |
name: bandini |
This file contains hidden or 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
#!/usr/bin/python3 | |
import os | |
import subprocess | |
import yaml | |
from github import Github | |
baseurl = "https://docs-pr.acksyn.org/pr" |
This file contains hidden or 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
#!/bin/bash | |
set -e | |
function error_out() { | |
echo "Error wrong arguments. Pick either input or output" | |
exit 1 | |
} | |
if [ $# -ne 1 ]; then | |
error_out |
NewerOlder