Skip to content

Commit

Permalink
build: fix Dockerfile for SpaceONE 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMin5 committed Dec 18, 2023
1 parent 94f04ab commit 876f085
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 29 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: SpaceONE plugin Helm chart for Kubernetes

type: application

version: 1.3.9
version: 1.3.10
appVersion: 1.x.y


13 changes: 3 additions & 10 deletions deploy/helm/config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REMOTE_URL:
- file:///opt/spaceone/plugin/config/database.yaml
- file:///opt/spaceone/plugin/config/shared.yaml
- file:///opt/spaceone/plugin/config/application.yaml
- file:///opt/spaceone/plugin/config/database.yaml
- file:///opt/spaceone/plugin/config/shared.yaml
- file:///opt/spaceone/plugin/config/application.yaml
GLOBAL:
MAX_WORKERS: 1000
DATABASES:
Expand Down Expand Up @@ -31,13 +31,6 @@ GLOBAL:
file:
type: file
filename: /var/log/spaceone/plugin.log
HANDLERS:
authentication:
- backend: spaceone.core.handler.authentication_handler.AuthenticationGRPCHandler
uri: grpc://identity:50051/v1/Domain/get_public_key
authorization:
- backend: spaceone.core.handler.authorization_handler.AuthorizationGRPCHandler
uri: grpc://identity:50051/v1/Authorization/verify
CONNECTORS:
IdentityConnector:
endpoint:
Expand Down
3 changes: 0 additions & 3 deletions pkg/pip_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
spaceone-api
mongoengine
redis
python-consul
24 changes: 9 additions & 15 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,15 @@
from setuptools import setup, find_packages

setup(
name='spaceone-plugin',
version=os.environ.get('PACKAGE_VERSION'),
description='SpaceONE plugin service',
long_description='',
url='https://www.spaceone.dev/',
author='MEGAZONE SpaceONE Team',
author_email='admin@spaceone.dev',
license='Apache License 2.0',
name="spaceone-plugin",
version=os.environ.get("PACKAGE_VERSION"),
description="SpaceONE plugin service",
long_description="",
url="https://www.spaceone.dev/",
author="MEGAZONE SpaceONE Team",
author_email="admin@spaceone.dev",
license="Apache License 2.0",
packages=find_packages(),
install_requires=[
'spaceone-core',
'spaceone-api',
'mongoengine',
'redis',
'python-consul'
],
install_requires=["spaceone-api"],
zip_safe=False,
)

0 comments on commit 876f085

Please sign in to comment.