Skip to content

Commit 44272ba

Browse files
committed
Initial commit
0 parents  commit 44272ba

File tree

87 files changed

+14167
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+14167
-0
lines changed

.gitignore

Lines changed: 329 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,329 @@
1+
###############################################################################
2+
# Project
3+
###############################################################################
4+
5+
test-yaml
6+
input/backend-aws-ebs-real.json
7+
reset_demo.sh
8+
bin/
9+
vendor/
10+
launcher/launcher
11+
launcher/docker-build/launcher
12+
kubernetes-yaml/trident-pod-local.yaml
13+
launcher/kubernetes-yaml/launcher-pod-local.yaml
14+
launcher/config/
15+
trident-installer.tar.gz
16+
17+
###############################################################################
18+
# Go
19+
# https://github.com/github/gitignore/blob/master/Go.gitignore
20+
###############################################################################
21+
22+
# Compiled Object files, Static and Dynamic libs (Shared Objects)
23+
*.o
24+
*.a
25+
*.so
26+
27+
# Folders
28+
_obj
29+
_test
30+
31+
# Architecture specific extensions/prefixes
32+
*.[568vq]
33+
[568vq].out
34+
35+
*.cgo1.go
36+
*.cgo2.c
37+
_cgo_defun.c
38+
_cgo_gotypes.go
39+
_cgo_export.*
40+
41+
_testmain.go
42+
43+
*.exe
44+
*.test
45+
*.prof
46+
47+
###############################################################################
48+
# Archives
49+
# https://github.com/github/gitignore/blob/master/Global/Archives.gitignore
50+
###############################################################################
51+
52+
# It's better to unpack these files and commit the raw source because
53+
# git has its own built in compression methods.
54+
*.7z
55+
*.jar
56+
*.rar
57+
*.zip
58+
*.gz
59+
*.bzip
60+
*.bz2
61+
*.xz
62+
*.lzma
63+
*.cab
64+
65+
#packing-only formats
66+
*.iso
67+
*.tar
68+
69+
#package management formats
70+
*.dmg
71+
*.xpi
72+
*.gem
73+
*.egg
74+
*.deb
75+
*.rpm
76+
*.msi
77+
*.msm
78+
*.msp
79+
80+
###############################################################################
81+
# Eclipse
82+
# https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore
83+
###############################################################################
84+
85+
.metadata
86+
bin/
87+
tmp/
88+
*.tmp
89+
*.bak
90+
*.swp
91+
*~.nib
92+
local.properties
93+
.settings/
94+
.loadpath
95+
96+
# Eclipse Core
97+
.project
98+
99+
# External tool builders
100+
.externalToolBuilders/
101+
102+
# Locally stored "Eclipse launch configurations"
103+
*.launch
104+
105+
# PyDev specific (Python IDE for Eclipse)
106+
*.pydevproject
107+
108+
# CDT-specific (C/C++ Development Tooling)
109+
.cproject
110+
111+
# JDT-specific (Eclipse Java Development Tools)
112+
.classpath
113+
114+
# Java annotation processor (APT)
115+
.factorypath
116+
117+
# PDT-specific (PHP Development Tools)
118+
.buildpath
119+
120+
# sbteclipse plugin
121+
.target
122+
123+
# TeXlipse plugin
124+
.texlipse
125+
126+
# STS (Spring Tool Suite)
127+
.springBeans
128+
129+
###############################################################################
130+
# Emacs
131+
# https://github.com/github/gitignore/blob/master/Global/Emacs.gitignore
132+
###############################################################################
133+
134+
# -*- mode: gitignore; -*-
135+
*~
136+
\#*\#
137+
/.emacs.desktop
138+
/.emacs.desktop.lock
139+
*.elc
140+
auto-save-list
141+
tramp
142+
.\#*
143+
144+
# Org-mode
145+
.org-id-locations
146+
*_archive
147+
148+
# flymake-mode
149+
*_flymake.*
150+
151+
# eshell files
152+
/eshell/history
153+
/eshell/lastdir
154+
155+
# elpa packages
156+
/elpa/
157+
158+
# reftex files
159+
*.rel
160+
161+
# AUCTeX auto folder
162+
/auto/
163+
164+
# cask packages
165+
.cask/
166+
167+
###############################################################################
168+
# JetBrains
169+
# https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
170+
###############################################################################
171+
172+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
173+
174+
*.iml
175+
176+
## Directory-based project format:
177+
.idea/
178+
# if you remove the above rule, at least ignore the following:
179+
180+
# User-specific stuff:
181+
# .idea/workspace.xml
182+
# .idea/tasks.xml
183+
# .idea/dictionaries
184+
# .idea/shelf
185+
186+
# Sensitive or high-churn files:
187+
# .idea/dataSources.ids
188+
# .idea/dataSources.xml
189+
# .idea/sqlDataSources.xml
190+
# .idea/dynamic.xml
191+
# .idea/uiDesigner.xml
192+
193+
# Gradle:
194+
# .idea/gradle.xml
195+
# .idea/libraries
196+
197+
# Mongo Explorer plugin:
198+
# .idea/mongoSettings.xml
199+
200+
## File-based project format:
201+
*.ipr
202+
*.iws
203+
204+
## Plugin-specific files:
205+
206+
# IntelliJ
207+
/out/
208+
209+
# mpeltonen/sbt-idea plugin
210+
.idea_modules/
211+
212+
# JIRA plugin
213+
atlassian-ide-plugin.xml
214+
215+
# Crashlytics plugin (for Android Studio and IntelliJ)
216+
com_crashlytics_export_strings.xml
217+
crashlytics.properties
218+
crashlytics-build.properties
219+
fabric.properties
220+
221+
###############################################################################
222+
# Linux
223+
# https://github.com/github/gitignore/blob/master/Global/Linux.gitignore
224+
###############################################################################
225+
226+
*~
227+
228+
# temporary files which can be created if a process still has a handle open of a deleted file
229+
.fuse_hidden*
230+
231+
# KDE directory preferences
232+
.directory
233+
234+
# Linux trash folder which might appear on any partition or disk
235+
.Trash-*
236+
237+
###############################################################################
238+
# OS X
239+
# https://github.com/github/gitignore/blob/master/Global/OSX.gitignore
240+
###############################################################################
241+
242+
.DS_Store
243+
.AppleDouble
244+
.LSOverride
245+
246+
# Icon must end with two \r
247+
Icon
248+
249+
250+
# Thumbnails
251+
._*
252+
253+
# Files that might appear in the root of a volume
254+
.DocumentRevisions-V100
255+
.fseventsd
256+
.Spotlight-V100
257+
.TemporaryItems
258+
.Trashes
259+
.VolumeIcon.icns
260+
261+
# Directories potentially created on remote AFP share
262+
.AppleDB
263+
.AppleDesktop
264+
Network Trash Folder
265+
Temporary Items
266+
.apdisk
267+
268+
###############################################################################
269+
# Sublime Text
270+
# https://github.com/github/gitignore/blob/master/Global/SublimeText.gitignore
271+
###############################################################################
272+
273+
# cache files for sublime text
274+
*.tmlanguage.cache
275+
*.tmPreferences.cache
276+
*.stTheme.cache
277+
278+
# workspace files are user-specific
279+
*.sublime-workspace
280+
281+
# project files should be checked into the repository, unless a significant
282+
# proportion of contributors will probably not be using SublimeText
283+
# *.sublime-project
284+
285+
# sftp configuration file
286+
sftp-config.json
287+
288+
###############################################################################
289+
# Vagrant
290+
# https://github.com/github/gitignore/blob/master/Global/Vagrant.gitignore
291+
###############################################################################
292+
293+
.vagrant/
294+
295+
###############################################################################
296+
# Vim
297+
# https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
298+
###############################################################################
299+
300+
[._]*.s[a-w][a-z]
301+
[._]s[a-w][a-z]
302+
*.un~
303+
Session.vim
304+
.netrwhist
305+
*~
306+
307+
###############################################################################
308+
# Windows
309+
# https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
310+
###############################################################################
311+
312+
# Windows image file caches
313+
Thumbs.db
314+
ehthumbs.db
315+
316+
# Folder config file
317+
Desktop.ini
318+
319+
# Recycle Bin used on file shares
320+
$RECYCLE.BIN/
321+
322+
# Windows Installer files
323+
*.cab
324+
*.msi
325+
*.msm
326+
*.msp
327+
328+
# Windows shortcuts
329+
*.lnk

AUTHORS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Authors
2+
3+
Trident is maintained by NetApp, Inc. and is licensed under the Apache Software
4+
License 2.0.
5+
6+
* NetApp, Inc.
7+
+ Ardalan Kangarlou
8+
+ Chris Dragga

Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
FROM debian:jessie
2+
MAINTAINER Ardalan Kangarlou <[email protected]>
3+
4+
LABEL version="1.0" \
5+
description="Kubernetes storage orchestrator"
6+
7+
RUN apt-get update && apt-get install -y \
8+
open-iscsi \
9+
lsscsi \
10+
sg3-utils \
11+
scsitools \
12+
kmod \
13+
curl \
14+
aeson-pretty \
15+
ca-certificates
16+
ARG PORT=8000
17+
ENV PORT $PORT
18+
EXPOSE $PORT
19+
ARG BIN=trident_orchestrator
20+
ENV BIN $BIN
21+
ARG ETCDV2=http://localhost:8001
22+
ENV ETCDV2 $ETCDV2
23+
ARG K8S=""
24+
ENV K8S $K8S
25+
ENV TRIDENT_IP localhost
26+
COPY ./scripts/* /usr/local/sbin/
27+
COPY $BIN /usr/local/bin
28+
CMD ["/usr/local/bin/$BIN -port $PORT -etcd_v2 $ETCDV2 -k8s_api_server $K8S"]

0 commit comments

Comments
 (0)