-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [PAK-4249] modify for rosa * Fix wait for redis and fix linter errors * Fix more linter errors * Remove redis dependency for linter * Use better name for default serviceaccount
- Loading branch information
1 parent
6bd3302
commit 87c7a08
Showing
7 changed files
with
374 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,18 @@ apiVersion: v2 | |
description: Helm chart for smartmet server | ||
home: "file" | ||
keywords: | ||
- fmi | ||
- smartmet | ||
- fmi | ||
- smartmet | ||
- smartmet-server | ||
# dependencies: | ||
# - name: redis | ||
# repository: https://charts.bitnami.com/bitnami | ||
# version: 18.19.2 | ||
# condition: redis.enabled | ||
# condition: config.redis.enabled | ||
maintainers: | ||
- email: [email protected] | ||
name: fmi-build-bot | ||
url: https://github.com/fmi-build-bot | ||
- email: [email protected] | ||
name: fmi-build-bot | ||
url: https://github.com/fmi-build-bot | ||
name: smartmet-server | ||
type: application | ||
version: 0.1.2 | ||
version: 0.1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{{- if not .Values.config.plugins.wms.disabled }} | ||
# apiVersion: apps/v1 | ||
# kind: Deployment | ||
# metadata: | ||
# name: {{ .Release.name }}-wms-layer-git-sync | ||
# spec: | ||
# replicas: 1 | ||
# selector: | ||
# matchLabels: | ||
# app: {{ .Release.Name }} | ||
# template: | ||
# metadata: | ||
# labels: | ||
# app: {{ .Release.Name }} | ||
# spec: | ||
# securityContext: | ||
# # Set this to any valid GID, and two things happen: | ||
# # 1) The volume "content-from-git" is group-owned by this GID. | ||
# # 2) This GID is added to each container. | ||
# fsGroup: 0 | ||
# volumes: | ||
# - name: wms-layers | ||
# emptyDir: {} | ||
# containers: | ||
# - name: git-sync | ||
# # This container pulls git data and publishes it into volume | ||
# # "content-from-git". In that volume you will find a symlink | ||
# # "current" (see -dest below) which points to a checked-out copy of | ||
# # the master branch (see -branch) of the repo (see -repo). | ||
# # NOTE: git-sync already runs as non-root. | ||
# image: registry.k8s.io/git-sync/git-sync:v4.0.0 | ||
# args: | ||
# - --repo={{ .Values.config.plugins.wms.gitSync.repository }} | ||
# - --branch={{ .Values.config.plugins.wms.gitSync.branch }} | ||
# - --depth=1 | ||
# - --period={{ .Values.config.plugins.wms.gitSync.period }}s | ||
# - --link=current | ||
# - --root=/wms-layers | ||
# volumeMounts: | ||
# - name: wms-layers | ||
# mountPath: /wms-layers | ||
{{- end }} |
114 changes: 114 additions & 0 deletions
114
charts/smartmet-server/templates/radon2smartmet/radon2smartmet-configuration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: radon-to-smartmet-config | ||
data: | ||
configuration: | | ||
################################################################## | ||
# smartmet-tools-grid : radon2smartmet | ||
################################################################## | ||
# This is a configuration file for "radon2smartmet" program. | ||
# The program is used for synchronizing content information | ||
# in the Redis database according to the information stored | ||
# into the Radon database. | ||
################################################################## | ||
# Importing global configuration parameters. There should be | ||
# an environment variable SMARTMET_ENV_FILE that points to | ||
# the global configuration file. The idea is that you can easily | ||
# change your environment by editing this file. | ||
# This information is needed for initializing the grid-library. | ||
smartmet.library.grid-files.configFile = "/config/libraries/grid-files/grid-files.conf" | ||
smartmet : | ||
{ | ||
tools : | ||
{ | ||
grid : | ||
{ | ||
radon2smartmet : | ||
{ | ||
# The "addFileInfoListWithContent" message can contain max this many records: | ||
maxMessageSize = 10000 | ||
content-source : | ||
{ | ||
# There might be different content sources that update information | ||
# in the content server. That's why they should have an unique identifier. | ||
source-id = 100 | ||
# This file contains a list of producer names which content is updated | ||
# to the content server. | ||
producerFile = "$(RADON_PRODUCERFILE)" | ||
radon : | ||
{ | ||
connection-string = "host=$(RADON_HOST) dbname=$(RADON_DATABASE) user=$(RADON_USER) password=$(RADON_PASSWORD)" | ||
} | ||
} | ||
content-storage : | ||
{ | ||
# Content storage type (redis/corba/http) | ||
type = "redis" | ||
redis : | ||
{ | ||
address = "$(REDIS_CONTENT_SERVER_ADDRESS)" | ||
#address = "127.0.0.1" | ||
port = $(REDIS_CONTENT_SERVER_PORT) | ||
tablePrefix = "$(REDIS_CONTENT_SERVER_TABLE_PREFIX)" | ||
} | ||
corba : | ||
{ | ||
ior = "$(CORBA_CONTENT_SERVER_IOR)" | ||
} | ||
http : | ||
{ | ||
url = "$(HTTP_CONTENT_SERVER_URL)" | ||
} | ||
} | ||
processing-log : | ||
{ | ||
enabled = false | ||
file = "/dev/stdout" | ||
# file = "$(GRID_TOOLS_LOG_DIR)/radon2smartmet_processing.log" | ||
maxSize = 100000000 | ||
truncateSize = 20000000 | ||
} | ||
debug-log : | ||
{ | ||
enabled = true | ||
file = "/dev/stdout" | ||
# file = "$(GRID_TOOLS_LOG_DIR)/radon2smartmet_debug.log" | ||
maxSize = 100000000 | ||
truncateSize = 20000000 | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.