Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
destream-blockchain
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
destream-blockchain
Commits
d5709c88
Commit
d5709c88
authored
Mar 05, 2020
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cb8df2a5
Pipeline
#1448
passed with stages
in 35 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
31 deletions
+1
-31
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
app-nako-scanner.tpl.yml
app-nako-scanner.tpl.yml
+0
-30
No files found.
.gitlab-ci.yml
View file @
d5709c88
...
...
@@ -56,7 +56,7 @@ deploy_to_test:
stage
:
deploy_to_test
script
:
# - sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/prod"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app-dst-client.tpl.yml > app-dst-client.yml; cat app-dst-client.yml
-
sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/
prod
"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app-nako-scanner.tpl.yml > app-nako-scanner.yml; cat app-nako-scanner.yml
-
sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/
test
"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app-nako-scanner.tpl.yml > app-nako-scanner.yml; cat app-nako-scanner.yml
-
sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/test"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app.tpl.yml > app.yml; cat app.yml
-
wget https://storage.googleapis.com/kubernetes-release/release/v1.13.3/bin/linux/amd64/kubectl && chmod +x ./kubectl
-
wget https://github.com/garethr/kubeval/releases/download/0.7.3/kubeval-linux-amd64.tar.gz && tar xvf kubeval-linux-amd64.tar.gz && ./kubeval app.yml
...
...
app-nako-scanner.tpl.yml
View file @
d5709c88
---
apiVersion
:
networking.k8s.io/v1
kind
:
NetworkPolicy
metadata
:
name
:
node-scanner-deny-traffic-except-platform
namespace
:
test
spec
:
podSelector
:
matchLabels
:
app
:
node-scanner
policyTypes
:
-
Ingress
-
Egress
ingress
:
-
from
:
-
ipBlock
:
cidr
:
10.233.0.0/17
ports
:
-
protocol
:
TCP
port
:
56833
port
:
5000
egress
:
-
to
:
-
ipBlock
:
cidr
:
10.233.0.0/17
ports
:
-
protocol
:
TCP
port
:
56833
port
:
5000
---
apiVersion
:
apps/v1
kind
:
Deployment
...
...
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