Skip to content

spaceone-dev/spaceone-initializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published