https://github.com/cloudforet-io/spaceone-initializer
SpaceONE initializer
https://github.com/cloudforet-io/spaceone-initializer
spaceone-initializer tools
Last synced: about 1 year ago
JSON representation
SpaceONE initializer
- Host: GitHub
- URL: https://github.com/cloudforet-io/spaceone-initializer
- Owner: cloudforet-io
- Created: 2022-09-05T01:17:50.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T17:34:59.000Z (about 2 years ago)
- Last Synced: 2025-03-29T11:23:50.638Z (about 1 year ago)
- Topics: spaceone-initializer, tools
- Language: Mustache
- Size: 109 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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)
```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
```bash
kubectl create ns spaceone
```
```bash
helm install initializer cloudforet/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)
```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
```bash
kubectl create ns spaceone
```
```bash
helm install initializer cloudforet/spaceone-initializer -n spaceone -f initializer.yaml
```