Created
December 17, 2021 02:11
-
-
Save loudej/692cefcb5c54676e97ca8a0eb13e9966 to your computer and use it in GitHub Desktop.
resource list
This file contains 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: config.kubernetes.io/v1alpha1 | |
kind: ResourceList | |
items: | |
# need a project | |
- apiVersion: resourcemanager.cnrm.cloud.google.com/v1beta1 | |
kind: Project | |
metadata: | |
name: scale-demo-192837 | |
namespace: projects | |
spec: | |
organizationRef: | |
external: "694851069045" | |
billingAccountRef: | |
external: 019970-D6BDB5-6AF850 | |
# enable artifact registry | |
- apiVersion: serviceusage.cnrm.cloud.google.com/v1beta1 | |
kind: Service | |
metadata: | |
name: artifactregistry.googleapis.com | |
namespace: scale-demo-192837 | |
# create a repo | |
- apiVersion: artifactregistry.cnrm.cloud.google.com/v1beta1 | |
kind: ArtifactRegistryRepository | |
metadata: | |
name: infrastructure | |
namespace: scale-demo-192837 | |
spec: | |
format: DOCKER | |
location: us | |
description: Packages for infrastructure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment