Skip to content

Instantly share code, notes, and snippets.

@loudej
Created December 17, 2021 02:11
Show Gist options
  • Save loudej/692cefcb5c54676e97ca8a0eb13e9966 to your computer and use it in GitHub Desktop.
Save loudej/692cefcb5c54676e97ca8a0eb13e9966 to your computer and use it in GitHub Desktop.
resource list
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