Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Charts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏国强
Charts
Commits
0146ba39
Commit
0146ba39
authored
Sep 08, 2021
by
sonicaj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add initial collabora app
parent
792a38b7
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
303 additions
and
0 deletions
+303
-0
test/collabora/1.0.0/.helmignore
test/collabora/1.0.0/.helmignore
+23
-0
test/collabora/1.0.0/Chart.yaml
test/collabora/1.0.0/Chart.yaml
+18
-0
test/collabora/1.0.0/README.md
test/collabora/1.0.0/README.md
+8
-0
test/collabora/1.0.0/app-readme.md
test/collabora/1.0.0/app-readme.md
+4
-0
test/collabora/1.0.0/charts/common-2105.0.0.tgz
test/collabora/1.0.0/charts/common-2105.0.0.tgz
+0
-0
test/collabora/1.0.0/ix_values.yaml
test/collabora/1.0.0/ix_values.yaml
+5
-0
test/collabora/1.0.0/questions.yaml
test/collabora/1.0.0/questions.yaml
+155
-0
test/collabora/1.0.0/requirements.lock
test/collabora/1.0.0/requirements.lock
+6
-0
test/collabora/1.0.0/templates/deployment.yaml
test/collabora/1.0.0/templates/deployment.yaml
+40
-0
test/collabora/1.0.0/test_values.yaml
test/collabora/1.0.0/test_values.yaml
+13
-0
test/collabora/item.yaml
test/collabora/item.yaml
+5
-0
test/collabora/upgrade_info.json
test/collabora/upgrade_info.json
+1
-0
test/collabora/upgrade_strategy
test/collabora/upgrade_strategy
+25
-0
No files found.
test/collabora/1.0.0/.helmignore
0 → 100644
View file @
0146ba39
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
# OWNERS file for Kubernetes
OWNERS
\ No newline at end of file
test/collabora/1.0.0/Chart.yaml
0 → 100644
View file @
0146ba39
apiVersion
:
v1
appVersion
:
6.4.10.10
dependencies
:
-
name
:
common
repository
:
file://../../../library/common/2105.0.0
version
:
2105.0.0
description
:
Global, Versioned, peer-to-peer filesystem.
home
:
https://www.chia.net/
icon
:
https://www.chia.net/img/chia_logo.svg
keywords
:
-
office
-
documents
-
productivity
name
:
collabora
sources
:
-
https://github.com/CollaboraOnline/online.git
-
https://hub.docker.com/r/collabora/code
version
:
1.0.0
test/collabora/1.0.0/README.md
0 → 100755
View file @
0146ba39
Chia Network
=====
[
CHIA
](
https://www.chia.net/
)
is a new blockchain and smart transaction platform that is easier to use, more efficient, and secure.
Introduction
------------
This chart bootstraps CHIA deployment on a
[
Kubernetes
](
http://kubernetes.io
)
cluster using the
[
Helm
](
https://helm.sh
)
package manager.
test/collabora/1.0.0/app-readme.md
0 → 100644
View file @
0146ba39
Collabora
=====
[
CHIA
](
https://www.chia.net/
)
is a new blockchain and smart transaction platform that is easier to use, more efficient, and secure.
test/collabora/1.0.0/charts/common-2105.0.0.tgz
0 → 100644
View file @
0146ba39
File added
test/collabora/1.0.0/ix_values.yaml
0 → 100644
View file @
0146ba39
image
:
pullPolicy
:
IfNotPresent
repository
:
collabora/code
tag
:
6.4.10.10
updateStrategy
:
Recreate
test/collabora/1.0.0/questions.yaml
0 → 100644
View file @
0146ba39
groups
:
-
name
:
"
Storage"
description
:
"
Configure
Storage
for
Chia"
-
name
:
"
Farmr.net
Configuration"
description
:
"
Configure
farmr.net
support"
-
name
:
"
Chia
Environment
Variables"
description
:
"
Set
the
environment
that
will
be
visible
to
the
container"
portals
:
web_portal
:
protocols
:
-
"
https"
host
:
-
"
www.truepool.io"
ports
:
-
"
443"
path
:
"
/kb/truepool-docker-image/"
questions
:
-
variable
:
farmr_env
label
:
"
Enable
'farmr.net'
support"
group
:
"
Farmr.net
Configuration"
description
:
"
Configure
'farmr.net'
support
for
chia"
schema
:
type
:
string
default
:
"
off"
enum
:
-
value
:
"
off"
description
:
"
OFF"
-
value
:
"
farmer"
description
:
"
FARMER"
-
value
:
"
harvester"
description
:
"
HARVESTER"
-
variable
:
appVolumeMounts
label
:
"
Chia
Storage"
group
:
"
Storage"
schema
:
type
:
dict
attrs
:
-
variable
:
config
label
:
"
Configuration
Volume"
schema
:
type
:
dict
attrs
:
-
variable
:
datasetName
label
:
"
Configuration
Volume
Dataset
Name"
schema
:
type
:
string
hidden
:
true
$ref
:
-
"
normalize/ixVolume"
show_if
:
[[
"
hostPathEnabled"
,
"
="
,
false
]]
default
:
"
config"
editable
:
false
-
variable
:
mountPath
label
:
"
Configuration
Mount
Path"
description
:
"
Path
where
the
volume
will
be
mounted
inside
the
pod"
schema
:
type
:
path
hidden
:
true
editable
:
true
default
:
"
/data"
-
variable
:
hostPathEnabled
label
:
"
Enable
Custom
Host
Path
for
Chia
Configuration
Volume"
schema
:
type
:
boolean
default
:
false
show_subquestions_if
:
true
subquestions
:
-
variable
:
hostPath
label
:
"
Host
Path
for
Chia
Configuration
Volume"
schema
:
type
:
hostpath
required
:
true
-
variable
:
plots
label
:
"
Plot
Volume"
schema
:
type
:
dict
attrs
:
-
variable
:
datasetName
label
:
"
Plots
Volume
Name"
schema
:
type
:
string
hidden
:
true
$ref
:
-
"
normalize/ixVolume"
show_if
:
[[
"
hostPathEnabled"
,
"
="
,
false
]]
default
:
"
plots"
editable
:
false
-
variable
:
mountPath
label
:
"
Plots
Mount
Path"
description
:
"
Path
where
the
volume
will
be
mounted
inside
the
pod"
schema
:
type
:
path
hidden
:
true
editable
:
false
default
:
"
/plots"
-
variable
:
hostPathEnabled
label
:
"
Enable
Custom
Host
Path
for
Chia
Plots
Volume"
schema
:
type
:
boolean
default
:
false
show_subquestions_if
:
true
subquestions
:
-
variable
:
hostPath
label
:
"
Host
Path
for
Chia
Plots
Volume"
schema
:
type
:
hostpath
required
:
true
-
variable
:
extraAppVolumeMounts
label
:
"
Chia
Extra
Host
Path
Volumes"
group
:
"
Storage"
schema
:
type
:
list
items
:
-
variable
:
extraAppVolume
label
:
"
Chia
Host
Path
Volume"
description
:
"
Add
an
extra
host
path
volume
for
chia
application"
schema
:
type
:
dict
attrs
:
-
variable
:
mountPath
label
:
"
Mount
Path
in
Pod"
description
:
"
Path
where
the
volume
will
be
mounted
inside
the
pod"
schema
:
type
:
path
required
:
true
-
variable
:
hostPath
label
:
"
Host
Path"
description
:
"
Host
path"
schema
:
type
:
hostpath
required
:
true
-
variable
:
environmentVariables
label
:
"
Environment
Variables
for
Chia"
group
:
"
Chia
Environment
Variables"
schema
:
type
:
list
default
:
[]
items
:
-
variable
:
environmentVariable
label
:
"
Environment
Variable"
schema
:
type
:
dict
attrs
:
-
variable
:
name
label
:
"
Name"
schema
:
type
:
string
-
variable
:
value
label
:
"
Value"
schema
:
type
:
string
test/collabora/1.0.0/requirements.lock
0 → 100644
View file @
0146ba39
dependencies:
- name: common
repository: file://../../../library/common/2105.0.0
version: 2105.0.0
digest: sha256:11522ab36487826700d7ad0f86f713a4bb5d35248014bcef690fe94acbc09ef6
generated: "2021-05-17T18:26:46.201544+05:00"
test/collabora/1.0.0/templates/deployment.yaml
0 → 100644
View file @
0146ba39
apiVersion
:
{{
template "common.capabilities.deployment.apiVersion" .
}}
kind
:
Deployment
metadata
:
name
:
{{
template "common.names.fullname" .
}}
labels
:
{{
include "common.labels" . | nindent 4
}}
spec
:
strategy
:
type
:
{{
.Values.updateStrategy
}}
selector
:
matchLabels
:
{{
include "common.labels.selectorLabels" . | nindent 6
}}
template
:
metadata
:
name
:
{{
template "common.names.fullname" .
}}
labels
:
{{
include "common.labels.selectorLabels" . | nindent 8
}}
spec
:
# FIXME: Let's please remove hostnetwork when upstream hostport issue is sorted out with kube-router
hostNetwork
:
true
containers
:
-
name
:
{{
.Chart.Name
}}
{{
include "common.containers.imageConfig" .Values.image | nindent 10
}}
volumeMounts
:
{{
include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12
}}
{{
range $index
,
$hostPathConfiguration
:
= .Values.extraAppVolumeMounts
}}
-
name
:
extrappvolume-{{ $index }}
mountPath
:
{{
$hostPathConfiguration.mountPath
}}
{{
end
}}
ports
:
-
name
:
chia-network
protocol
:
TCP
containerPort
:
8444
hostPort
:
8444
{{
$envList
:
= (default list .Values.environmentVariables)
}}
{{
$envList = mustAppend $envList (dict "name" "keys" "value" "/plots/keyfile")
}}
{{
$envList = mustAppend $envList (dict "name" "farmr" "value" $.Values.farmr_env)
}}
{{
include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10
}}
volumes
:
{{
include "common.storage.configureAppVolumes" .Values | nindent 8
}}
{{
range $index
,
$hostPathConfiguration
:
= .Values.extraAppVolumeMounts
}}
-
name
:
extrappvolume-{{ $index }}
hostPath
:
path
:
{{
$hostPathConfiguration.hostPath
}}
{{
end
}}
test/collabora/1.0.0/test_values.yaml
0 → 100644
View file @
0146ba39
appVolumeMounts
:
data
:
emptyDir
:
true
mountPath
:
/data
staging
:
emptyDir
:
true
mountPath
:
/plots
image
:
pullPolicy
:
IfNotPresent
repository
:
collabora/code
tag
:
6.4.10.10
updateStrategy
:
Recreate
test/collabora/item.yaml
0 → 100644
View file @
0146ba39
categories
:
-
office
-
documents
-
productivity
icon_url
:
https://avatars.githubusercontent.com/u/22418908?s=200&v=4
test/collabora/upgrade_info.json
0 → 100644
View file @
0146ba39
{
"filename"
:
"ix_values.yaml"
,
"keys"
:
[
"image"
],
"test_filename"
:
"test_values.yaml"
}
test/collabora/upgrade_strategy
0 → 100755
View file @
0146ba39
#!/usr/bin/python3
import
json
import
sys
from
catalog_update.upgrade_strategy
import
semantic_versioning
def
newer_mapping
(
image_tags
):
key
=
list
(
image_tags
.
keys
())[
0
]
tags
=
{
t
.
strip
(
'v'
).
replace
(
'_'
,
'.'
):
t
for
t
in
image_tags
[
key
]}
version
=
semantic_versioning
(
image_tags
[
key
])
if
not
version
:
return
{}
return
{
'tags'
:
{
key
:
tags
[
version
]},
'app_version'
:
tags
[
version
],
}
if
__name__
==
'__main__'
:
if
len
(
sys
.
argv
)
!=
2
:
exit
(
1
)
print
(
json
.
dumps
(
newer_mapping
(
json
.
loads
(
sys
.
argv
[
1
]))))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment