philips-software / provider-hsdp

Crossplane HSDP provider

Home Page:https://marketplace.upbound.io/providers/philips-software/provider-hsdp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crossplane HSDP Provider

provider-hsdp is a Crossplane provider that is built using Upjet code generation tools and exposes XRM-conformant managed resources for the HSDP API.

Disclaimer

This provider is not endorsed, supported or approved by HSDP. Use at your own risk.

Getting Started

Install the provider by using the following command after changing the image tag to the latest release:

kubectl crossplane install provider xpkg.upbound.io/philips-software/provider-hsdp:v0.34.0 provider-hsdp

Alternatively, you can use declarative installation:

apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-hsdp
spec:
  package: xpkg.upbound.io/philips-software/provider-hsdp:v0.34.0

Credentials

Provider secrets are passed via the ProviderConfig resource which in turn refers to a Kubernetes secret holding HSDP credentials

apiVersion: hsdp.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
  name: default
spec:
  credentials:
    source: Secret
    secretRef:
      name: example-creds
      namespace: crossplane-system
      key: credentials

Secret example

apiVersion: v1
kind: Secret
metadata:
  name: example-creds
  namespace: crossplane-system
type: Opaque
stringData:
  credentials: |
    {
      "service_id": "iam.service.id.here",
      "service_private_key": "----PRIVATE KEY HERE----",
      "region": "us-east",
      "environment": "client-test",
      "debug_log": "/tmp/crossplane.log"
    }

Supported credential keys

credential description Example
service_id Service ID of the IAM Service account to use
service_private_key The RSA private key associated with the IAM Service account
region The HSDP Region to use us-east or eu-west
environment The HSDP Environment to use client-test or prod
debug_log Optional path where debug API traffic is logged in the provider Pod

API Reference

You can see the API reference on the Upbound marketplace

Known limitations

  • Fields which are marked with ForceNew in the Terraform provider do not trigger recreation of resources via Crossplane currently. This is a known issue and will be addressed once CRD Validation rules suport becomes widely available starting in Kubernetes 1.25+

Developing the provider

Refer to the DEVELOPMENT page for details.

Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please open an issue.

About

Crossplane HSDP provider

https://marketplace.upbound.io/providers/philips-software/provider-hsdp

License:Apache License 2.0


Languages

Language:Makefile 53.9%Language:Go 23.3%Language:Shell 19.0%Language:Dockerfile 3.8%Language:HCL 0.1%