Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fresh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
fresh
Commits
03949823c563
Commit
03949823c563
authored
5 years ago
by
Philippe Pepiot
Browse files
Options
Downloads
Patches
Plain Diff
Add support CWClientLibDataFeedParser in kubernetes deployment
We need to provide a cwclientlibrc file in instance directory
parent
a6cd40f4a821
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.rst
+9
-0
9 additions, 0 deletions
README.rst
deploy/deployment.yaml
+14
-0
14 additions, 0 deletions
deploy/deployment.yaml
with
23 additions
and
0 deletions
README.rst
+
9
−
0
View file @
03949823
...
...
@@ -42,6 +42,15 @@
--from-literal CW_BASE_URL=https://fresh.example.com
You need to mount a cwclientlib configuration file to make
CWClientLibDataFeedParser. If you don't use this feature, just create an empty
file.
Create a file named cwclientlibrc and run::
kubectl create secret generic fresh-cwclientlibrc --from-file=./cwclientlibrc
Then deploy fresh with::
kubectl apply -f deployment.yaml
This diff is collapsed.
Click to expand it.
deploy/deployment.yaml
+
14
−
0
View file @
03949823
...
...
@@ -50,6 +50,9 @@
-
name
:
config
configMap
:
name
:
fresh
-
name
:
cwclientlibrc
secret
:
secretName
:
fresh-cwclientlibrc
containers
:
-
name
:
fresh
image
:
hub.extranet.logilab.fr/logilab/fresh
...
...
@@ -60,6 +63,9 @@
volumeMounts
:
-
name
:
static
mountPath
:
/etc/cubicweb.d/fresh/data
-
name
:
cwclientlibrc
mountPath
:
/etc/cubicweb.d/fresh/cwclientlibrc
subPath
:
cwclientlibrc
resources
:
requests
:
cpu
:
500m
...
...
@@ -109,6 +115,10 @@
spec
:
imagePullSecrets
:
-
name
:
regcred
volumes
:
-
name
:
cwclientlibrc
secret
:
secretName
:
fresh-cwclientlibrc
containers
:
-
name
:
fresh
image
:
hub.extranet.logilab.fr/logilab/fresh
...
...
@@ -116,6 +126,10 @@
envFrom
:
-
secretRef
:
name
:
fresh-env
volumeMounts
:
-
name
:
cwclientlibrc
mountPath
:
/etc/cubicweb.d/fresh/cwclientlibrc
subPath
:
cwclientlibrc
command
:
[
"
cubicweb-ctl"
,
"
scheduler"
,
"
fresh"
]
resources
:
requests
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment