GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit

Add lz git section - part iii second part after CSR service - CSR itself - apply instructions

Open
#195 0 comments 0 reactions 1 assignee Claimed by @fmichaelobrien View on GitHub
automation bug developer-experience documentation
Dominant language
Shell
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

2nd csr yaml
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/main/solutions/landing-zone#git

create the repo yaml
```
apiVersion: sourcerepo.cnrm.cloud.google.com/v1beta1
kind: SourceRepoRepository
metadata:
name: my-lz-repo
namespace: config-control
```

missing the kubectl apply
see
https://cloud.google.com/anthos-config-management/docs/how-to/config-controller-setup#manage-resources

```
root_@cloudshell:~/wse_github/obriensystems/pubsec-declarative-toolkit/solutions/landing-zone (controller-agz-1201)$ vi repo.yaml
root_@cloudshell:~/wse_github/obriensystems/pubsec-declarative-toolkit/solutions/landing-zone (controller-agz-1201)$ kubectl apply -f repo.yaml
sourcereporepository.sourcerepo.cnrm.cloud.google.com/my-lz-repo created
root_@cloudshell:~/wse_github/obriensystems/pubsec-declarative-toolkit/solutions/landing-zone (controller-agz-1201)$ kubectl wait -f repo.yaml --for=condition=Ready
error: timed out waiting for the condition on sourcereporepositories/my-lz-repo
```
expand on
https://cloud.google.com/anthos-config-management/docs/how-to/config-controller-setup#set_up_gitops

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.