# Spaces

In Angus, Spaces refers to the highest set of components within the Angus Integration layer that houses all entities for a particular network. These configuration files create the various components of the Hyperledger Fabric network like certificate authorities. We differentiate two types here:

  • Customer space: This is the space where the customer can deploy their business logic.
  • Integration spaces: This is the space where the Angus integration components (including HLF components as well) are deployed.

# Customer Space

apiVersion: integrator.angusnext.io/v1
kind: AngusSpace
metadata:
  name: application
  namespace: angus
  labels:
    angusnext.io/namespace: application
spec:
  type: customer
  description: "Customer01 Application customer space" # Optional, default: none
  msp: application-space-msp # Optional, default: space-msp
  serviceAccount: angus-service-account # Optional, default: angus-service-account
  ca:
    implementation: internal
    subject:
      countryName: HU # Optional, default: HU
      stateOrProvinceName: Budapest # Optional: default: Budapest
      localityName: Acme # Optional, default: Arvenis
      organizationName: application # Optional, default: ORG_NAME
      organizationalUnitName: auth # TODO: generate (auth/tls)
      commonName: angusnext.io # Optional, default: angusnext.io

# Properties

key Description
type The type of the space. Either integration or customer.
description The description of the space. (optional)
msp.name The name of the MSP. We can define space msp name. the operator will create the indentites and msp (optional)
msp.serviceAccount The service account of the MSP. (optional)
ca The CA of the space. Currently the only supported method is internal.