{"id":18192022,"url":"https://github.com/codekow/demo-acm","last_synced_at":"2026-02-17T17:33:03.169Z","repository":{"id":123430452,"uuid":"467717495","full_name":"codekow/demo-acm","owner":"codekow","description":"ACM Demo Notes","archived":false,"fork":false,"pushed_at":"2022-03-14T16:27:47.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-08T05:03:34.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codekow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-09T00:07:26.000Z","updated_at":"2022-03-09T00:07:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"26150103-c5f0-4e2f-ae28-591c67cafd38","html_url":"https://github.com/codekow/demo-acm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codekow/demo-acm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-acm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-acm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-acm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-acm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekow","download_url":"https://codeload.github.com/codekow/demo-acm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekow%2Fdemo-acm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29551257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-03T06:42:01.810Z","updated_at":"2026-02-17T17:33:03.144Z","avatar_url":"https://github.com/codekow.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# General Notes for ACM demo\n\n## quickstart minio s3\n# deploy minio\noc new-project minio\noc apply -f minio/ -n minio\n\n# setup a random user/pass\nexport MINIO_ROOT_USER=$(openssl rand -base64 18)\nexport MINIO_ROOT_PASSWORD=$(openssl rand -base64 33)\n\necho ${MINIO_ROOT_USER} / ${MINIO_ROOT_PASSWORD}\n\noc set env deployment/minio MINIO_ROOT_USER=\"${MINIO_ROOT_USER}\" -n minio\noc set env deployment/minio MINIO_ROOT_PASSWORD=\"${MINIO_ROOT_PASSWORD}\" -n minio\n\n## quickstart observability\n- [ACM 2.4 docs]()\n# setup pull secret\n# DOCKER_CONFIG_JSON=`oc extract secret/multiclusterhub-operator-pull-secret -n open-cluster-management --to=-`\nDOCKER_CONFIG_JSON=`oc extract secret/pull-secret -n openshift-config --to=-`\noc create secret generic multiclusterhub-operator-pull-secret \\\\\n-n open-cluster-management-observability \\\\\n--from-literal=.dockerconfigjson=\"$DOCKER_CONFIG_JSON\" \\\\\n--type=kubernetes.io/dockerconfigjson\n# s3 thanos-storage / cr\noc apply -f acm/thanos-object-storage-s3.yaml -n open-cluster-management-observability\noc apply -f acm/multiclusterobservability_cr.yaml\n\n\n## hack cloud creds (azure)\noc extract -n kube-system secret/azure-credentials --to=-\naz login --service-principal -u [client_id]() -p [auzre_client_secret]() --tenant [tenant_id]()\n\n## Login to Azure with the `az` command line tool using the cluster credentials revealed in the preceding command:\naz login --service-principal -u 892ff158b-abc5-43fe-99a2-d85963cca6af -p rw7q6f/]TwraMm6.?6n0C_lU[:7ci8HI --tenant 1ce7852f-dcf3-31bc-afe6-3bf81ab721fb\n]()\n\n## List your Azure resources and locate an Azure resource group that is appropriate for the storage account\n`az resource list`\n\n## Create the storage account\n`az storage account create --name acmstorageobserv --resource-group DefaultResourceGroup-CUS --location centralus --sku Standard_LRS`\n\n## List the newly created storage account’s keys\n`az storage account keys list   --resource-group DefaultResourceGroup-CUS   --account-name acmstorageobserv`\n\n## Create an Azure storage container\n`az storage container create -n prometheus --account-name key1 --account-key 8Ebx646mnzGFjJcNtyn1017oE8y46WJayXTVs0MyA4nlJ6olrQOKqNJ2BMG0THLkfyEZG8VrS/i5Vm2sHD48Ig== --public-access container`\n\n## Make sure you can upload to the storage\n`    az storage blob upload --account-name acmstorageobserv --account-key 8Ebx646mnzHKjJcFtyn1017oE8y24WJayXTVs0MyA4nlJ6olrQOKqNJ2BMG0THLkfyEZG8VrS/i5Vm2sHD48Ig== --container-name prometheus --file /Desktop/screenshot.png --name myblob`\n\n## azure storage principal setup\nSee [\"Create an Azure service principal\"]() and [\"Assign an Azure role for access to blob data\"]() pages for more details.\n\naz ad sp create-for-rbac --name \"\\\u003cname\\\u003e\" \\\\\n  --role \"Storage Blob Data Owner\" \\\\\n  --scopes \"/subscriptions/\\\u003csubscription\\\u003e/resourceGroups/\\\u003cresource-group\\\u003e/providers/Microsoft.Storage/storageAccounts/\\\u003cstorage-account\\\u003e/blobServices/default/containers/\\\u003ccontainer\\\u003e\" \\\\\n\u003e azure-principal.json\n\n## Create storage inside of ACM:\n```\n\tapiVersion: v1\n\tkind: Secret\n\tmetadata:\n\t  name: thanos-object-storage\n\t  namespace: open-cluster-management-observability\n\ttype: Opaque\n\tstringData:\n\t  thanos.yaml: |\n\t    type: AZURE\n\t    config:\n\t      storage_account: acmstorageobserv\n\t      storage_account_key: 8Ebx646mnzHKjJcFtyn1017oE8y24WJayXTVs0MyA4nlJ6olrQOKqNJ2BMG0THLkfyEZG8VrS/i5Vm2sHD48Ig==\n\t      container: prometheus\n\t      endpoint: acmstorageobserv.blob.core.windows.net\n\t      max_retries: 0\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fdemo-acm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekow%2Fdemo-acm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekow%2Fdemo-acm/lists"}