Skip to content

Commit

Permalink
doc: update references to point-of-sale (#294)
Browse files Browse the repository at this point in the history
* refactor: bring the abm edge scripts to anthos-samples

* lint: fix shellcheck errors

* fix: region tags

* lint: fix shellcheck

* fix: tf extension error

* lint: skip source follow

* lint: skip shellcheck error

* lint: skip shellcheck error

* lint: shellcheck ignore

* lint: shellcheck ignore

* lint: shellcheck ignore

* lint: add static dir for shellcheck

* lint: move shellcheck ignore to top of file

* lint: disable shellcheck for entire file

* lint: update the shellcheck

* lint: update the shellcheck

* lint: update the shellcheck

* lint: remove whitespace and add newline

* doc: update references

* doc: fix invalid update
  • Loading branch information
Shabirmean authored May 6, 2022
1 parent 11e66e2 commit 6a0d580
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions anthos-bm-edge-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ The following quick start guide will take approximately **55-60 minutes** to com
```sh
# once you have forked this repository, clone it to your local machine
git clone https://github.com/<YOUR_GITHUB_USERNAME>/point-of-sale
git clone https://github.com/<YOUR_GITHUB_USERNAME>/anthos-samples

# move into the root of the infrastructure setup directory
cd point-of-sale/anthos-baremetal-edge-deployment
cd anthos-samples/anthos-bm-edge-deployment
```


Expand All @@ -84,7 +84,7 @@ export PROXY_PORT="8082"
# should be a multiple of 3 since N/3 clusters are created with each having 3 nodes
export MACHINE_COUNT="3"

# fork of this repository: https://github.com/GoogleCloudPlatform/point-of-sale
# fork of this repository: https://github.com/GoogleCloudPlatform/anthos-samples
export ROOT_REPO_URL="<LINK_TO_YOUR_FORK_OF_THIS_REPO>"

# this is the username used to authenticate to your fork of this repository
Expand Down Expand Up @@ -190,7 +190,7 @@ Proceed!!
```sh
# this will configure the GCE instances with all the necessary tools, install Anthos BareMetal, install Anthos
# Config Management and configure it to sync with the configs at $ROOT_REPO_URL/anthos-baremetal-edge-deployment/acm-config-sink
# Config Management and configure it to sync with the configs at $ROOT_REPO_URL/anthos-bm-edge-deployment/acm-config-sink
ansible-playbook -i inventory cloud-full-install.yaml
```
```sh
Expand Down
2 changes: 1 addition & 1 deletion anthos-bm-edge-deployment/inventory/group_vars/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
####
#### Anthos Config Management
####
acm_root_repo: "{{ lookup('env', 'ROOT_REPO_URL') | default('https://github.com/GoogleCloudPlatform/point-of-sale', True) }}"
acm_root_repo: "{{ lookup('env', 'ROOT_REPO_URL') | default('https://github.com/GoogleCloudPlatform/anthos-samples', True) }}"


#######
Expand Down
4 changes: 3 additions & 1 deletion anthos-bm-edge-deployment/roles/abm-software/vars/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ acm_config_files: "/var/acm-configs"
external_secrets_files: "/var/external-secrets"

root_repository_branch: "main"
root_repository_policy_dir: "/anthos-baremetal-edge-deployment/acm-config-sink"

root_repository_policy_dir: "/anthos-bm-edge-deployment/acm-config-sink"

root_repository_git_auth_type: "token"
# NOTE: This is a tight coupling with the "Root Repo" that contains "ExternalSecret" instances with the `git-creds` name
# IF changed, both the ACM root-repo and this field need to match
Expand Down

0 comments on commit 6a0d580

Please sign in to comment.