Skip to content

Latest commit

 

History

History
89 lines (72 loc) · 2.28 KB

README.md

File metadata and controls

89 lines (72 loc) · 2.28 KB

spaceone-initializer

spaceone-initializer helps configure spaceone in various modes.

Default: Local Mode (without Marketplace)

Local mode is a configuration for an on-premise environment that cannot connect to the Internet.

  • Create a root domain to manage the SpaceONE cluster
  • Create a user domain for general users.
  • Create a local repository
  • Create 4 managed policies

Values Examples (initializer.yaml)

main:
  import:
    - /root/spacectl/apply/root_domain.yaml
    - /root/spacectl/apply/create_managed_repository.yaml
    - /root/spacectl/apply/user_domain.yaml
    - /root/spacectl/apply/create_role.yaml
    - /root/spacectl/apply/add_statistics_schedule.yaml
    - /root/spacectl/apply/print_api_key.yaml
  var:
    domain:
      root: root
      user: spaceone
    default_language: ko
    default_timezone: Asia/Seoul
    domain_owner:
      id: admin
      password: Admin123!@#         # Change your password
    user:
      id: system_api_key

Run the spaceone-initializer with the following command

kubectl create ns spaceone
helm install initializer spaceone/spaceone-initializer -n spaceone -f initializer.yaml

Marketplace Mode (with Marketplace)

Marketplace mode is configured in the following way.

  • Create a root domain to manage the SpaceONE cluster
  • Create a user domain for general users.
  • Register Open Source Marketplace (grpc://repository.portal.spaceone.dev:50051)

Values Examples (initializer.yaml)

main:
  import:
    - /root/spacectl/apply/root_domain.yaml
    - /root/spacectl/apply/register_marketplace.yaml
    - /root/spacectl/apply/user_domain.yaml
    - /root/spacectl/apply/create_role.yaml
    - /root/spacectl/apply/add_statistics_schedule.yaml
    - /root/spacectl/apply/print_api_key.yaml
  var:
    domain:
      root: root
      user: spaceone
    default_language: ko
    default_timezone: Asia/Seoul
    domain_owner:
      id: admin
      password: Admin123!@#         # Change your password
    user:
      id: system_api_key
    marketplace_endpoint: grpc://repository.portal.spaceone.dev:50051

Run the spaceone-initializer with the following command

kubectl create ns spaceone
helm install initializer spaceone/spaceone-initializer -n spaceone -f initializer.yaml