{"id":21126450,"url":"https://github.com/lreimer/hands-on-crossplane","last_synced_at":"2026-05-20T15:02:56.748Z","repository":{"id":71906650,"uuid":"458167251","full_name":"lreimer/hands-on-crossplane","owner":"lreimer","description":"Demo repository for Crossplane and GitOps style cloud infrastructure management.","archived":false,"fork":false,"pushed_at":"2022-04-06T22:06:36.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T15:02:15.480Z","etag":null,"topics":["cloud","crossplane","fluxcd","gitops","kubernetes","terraform"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lreimer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-11T11:54:54.000Z","updated_at":"2023-02-21T15:33:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"3194cd80-b69c-4b5f-bc22-7f6c88ba92ae","html_url":"https://github.com/lreimer/hands-on-crossplane","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Fhands-on-crossplane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Fhands-on-crossplane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Fhands-on-crossplane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lreimer%2Fhands-on-crossplane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lreimer","download_url":"https://codeload.github.com/lreimer/hands-on-crossplane/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243573168,"owners_count":20312879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","crossplane","fluxcd","gitops","kubernetes","terraform"],"created_at":"2024-11-20T04:41:55.416Z","updated_at":"2026-05-20T15:02:56.654Z","avatar_url":"https://github.com/lreimer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hands-on Crossplane\n\nDemo repository for Crossplane and GitOps style cloud infrastructure management.\n\n## Local Installation\n\nFor local installation simply follow the instructions found on the official [Crossplane documentation](https://crossplane.io/docs/v1.6/getting-started/install-configure.html).\n\n```bash\n# install latest Crossplane release using Helm in a dedicated namespace\nkubectl create namespace crossplane-system\n\nhelm repo add crossplane-stable https://charts.crossplane.io/stable\nhelm repo update\n\nhelm install crossplane --namespace crossplane-system crossplane-stable/crossplane --set provider.packages={crossplane/provider-aws:v0.24.1}\n\n## check everything came up OK\nhelm list -n crossplane-system\nkubectl get all -n crossplane-system\n```\n\nNext we need to configure the actual cloud provider, e.g. AWS and GCP. \n\n### Using the AWS Provider\n\nFor AWS the configuration needs to reference the required credentials in the form of a secret.\nThese are basically the `aws_access_key_id` and `aws_secret_access_key` from the default profile found in the `${HOME}/.aws/credentials` file. With this information we can create a secret and reference it from a provider config resource.\n\n```bash\nkubectl create secret generic aws-credentials -n crossplane-system --from-file=credentials=${HOME}/.aws/credentials\n\n# this assumes that the AWS provider has been installed as part of the Helm installation\n# otherwise use YAML or kubectl\n\n# kubectl crossplane install provider crossplane/provider-aws:v0.24.1\n# kubectl apply -n crossplane-system -f aws/provider.yaml\n\nkubectl apply -n crossplane-system -f aws/providerconfig.yaml\n\nkubectl get events\nkubectl get crds\n\n# create an S3 bucket in eu-central-1\nkubectl apply -f aws/s3/bucket.yaml\naws s3 ls\n\n# create an ECR in eu-central-1\nkubectl apply -f aws/ecr/repository.yaml\naws ecr describe-repositories\n\n# create SNS topic and subscription\nkubectl apply -f aws/sns/topic.yaml\naws sns list-topics\nkubectl apply -f aws/sns/subscription.yaml\naws sns list-subscriptions\naws sns publish --subject Test --message Crossplane --topic-arn arn:aws:sns:eu-central-1:\u003cACCOUNT_NUMBER\u003e:email-topic\n\n# create a SQS queue\nkubectl apply -f aws/sqs/queue.yaml\naws sqs list-queues\n\n# create EFS file system and mount point\nk apply -f aws/efs/filesystem.yaml\naws efs describe-file-systems\nk apply -f aws/efs/mounttarget.yaml\n# the mount target takes some time to be available\naws efs describe-mount-targets --file-system-id \u003cFileSystemId\u003e\n\n# create MQ brokers\nkubectl create secret generic test-activemq-admin -n crossplane-system --from-literal=password=testPassword123\nkubectl apply -f aws/mq/activemq-broker.yaml\nkubectl get broker\nkubectl describe secret test-activemq\n\nkubectl create secret generic test-rabbitmq-admin -n crossplane-system --from-literal=password=testPassword123\nkubectl apply -f aws/mq/rabbitmq-broker.yaml\nkubectl get broker\nkubectl describe secret test-rabbitmq\n\n# use XRD to create an ECR\nkubectl apply -f xrd/repository/definition.yaml\nkubectl apply -f xrd/repository/composition.yaml\nkubectl apply -f xrd/repository/examples/example-repository.yaml\n\ncd xrd/repository/\nkubectl crossplane build configuration --ignore=examples/example-repository.yaml\n\n# use XRD to create an S3 bucket\nkubectl apply -f xrd/bucket/definition.yaml\nkubectl apply -f xrd/bucket/composition.yaml\nkubectl apply -f xrd/bucket/examples/example-bucket.yaml\n\ncd xrd/bucket/\nkubectl crossplane build configuration --ignore=examples/example-bucket.yaml\n\n# use XRD to create PostgreSQL instance\nkubectl apply -f xrd/postgresql/definition.yaml\nkubectl apply -f xrd/postgresql/composition.yaml\nkubectl apply -f xrd/postgresql/examples/example-db.yaml\n\nkubectl get postgresqlinstances.db.aws.qaware.de example-db\nkubectl get claim\n\nkubectl get secrets\nkubectl describe secret example-db-conn\n\nkubectl apply -f xrd/postgresql/examples/example-db-client.yaml\nkubectl get pods\nkubectl logs example-db-client-sjdh7\n\ncd xrd/postgresql/\nkubectl crossplane build configuration --ignore=examples/example-db.yaml,examples/example-db-client.yaml\n```\n\n\n## Maintainer\n\nM.-Leander Reimer (@lreimer), \u003cmario-leander.reimer@qaware.de\u003e\n\n## License\n\nThis software is provided under the MIT open source license, read the `LICENSE`\nfile for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flreimer%2Fhands-on-crossplane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flreimer%2Fhands-on-crossplane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flreimer%2Fhands-on-crossplane/lists"}