Skip to content

Instantly share code, notes, and snippets.

@jonashackt
Last active June 30, 2022 12:42
Show Gist options
  • Save jonashackt/258a65964e3e49c0ea1d397d866fc4ea to your computer and use it in GitHub Desktop.
Save jonashackt/258a65964e3e49c0ea1d397d866fc4ea to your computer and use it in GitHub Desktop.
---
# Use the spec.group/spec.versions[0].name defined in the XRD
apiVersion: crossplane.jonashackt.io/v1alpha1
# Use the spec.claimName or spec.name specified in the XRD
kind: ObjectStorage
metadata:
# Only claims are namespaced, unlike XRs.
namespace: default
name: managed-s3
spec:
# The compositionRef specifies which Composition this XR will use to compose
# resources when it is created, updated, or deleted.
compositionRef:
name: objectstorage-composition
# Parameters for the Composition to provide the Managed Resources (MR) with
# to create the actual infrastructure components
parameters:
bucketName: microservice-ui-nuxt-js-static-bucket
region: eu-central-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment