Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kangarlou committed Dec 23, 2016
0 parents commit 44272ba
Show file tree
Hide file tree
Showing 87 changed files with 14,167 additions and 0 deletions.
329 changes: 329 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,329 @@
###############################################################################
# Project
###############################################################################

test-yaml
input/backend-aws-ebs-real.json
reset_demo.sh
bin/
vendor/
launcher/launcher
launcher/docker-build/launcher
kubernetes-yaml/trident-pod-local.yaml
launcher/kubernetes-yaml/launcher-pod-local.yaml
launcher/config/
trident-installer.tar.gz

###############################################################################
# Go
# https://github.com/github/gitignore/blob/master/Go.gitignore
###############################################################################

# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test
*.prof

###############################################################################
# Archives
# https://github.com/github/gitignore/blob/master/Global/Archives.gitignore
###############################################################################

# It's better to unpack these files and commit the raw source because
# git has its own built in compression methods.
*.7z
*.jar
*.rar
*.zip
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab

#packing-only formats
*.iso
*.tar

#package management formats
*.dmg
*.xpi
*.gem
*.egg
*.deb
*.rpm
*.msi
*.msm
*.msp

###############################################################################
# Eclipse
# https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore
###############################################################################

.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath

# Eclipse Core
.project

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

###############################################################################
# Emacs
# https://github.com/github/gitignore/blob/master/Global/Emacs.gitignore
###############################################################################

# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# Org-mode
.org-id-locations
*_archive

# flymake-mode
*_flymake.*

# eshell files
/eshell/history
/eshell/lastdir

# elpa packages
/elpa/

# reftex files
*.rel

# AUCTeX auto folder
/auto/

# cask packages
.cask/

###############################################################################
# JetBrains
# https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
###############################################################################

# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# .idea/shelf

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

###############################################################################
# Linux
# https://github.com/github/gitignore/blob/master/Global/Linux.gitignore
###############################################################################

*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

###############################################################################
# OS X
# https://github.com/github/gitignore/blob/master/Global/OSX.gitignore
###############################################################################

.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

###############################################################################
# Sublime Text
# https://github.com/github/gitignore/blob/master/Global/SublimeText.gitignore
###############################################################################

# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache

# workspace files are user-specific
*.sublime-workspace

# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project

# sftp configuration file
sftp-config.json

###############################################################################
# Vagrant
# https://github.com/github/gitignore/blob/master/Global/Vagrant.gitignore
###############################################################################

.vagrant/

###############################################################################
# Vim
# https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
###############################################################################

[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

###############################################################################
# Windows
# https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
###############################################################################

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk
8 changes: 8 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Authors

Trident is maintained by NetApp, Inc. and is licensed under the Apache Software
License 2.0.

* NetApp, Inc.
+ Ardalan Kangarlou
+ Chris Dragga
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM debian:jessie
MAINTAINER Ardalan Kangarlou <[email protected]>

LABEL version="1.0" \
description="Kubernetes storage orchestrator"

RUN apt-get update && apt-get install -y \
open-iscsi \
lsscsi \
sg3-utils \
scsitools \
kmod \
curl \
aeson-pretty \
ca-certificates
ARG PORT=8000
ENV PORT $PORT
EXPOSE $PORT
ARG BIN=trident_orchestrator
ENV BIN $BIN
ARG ETCDV2=http://localhost:8001
ENV ETCDV2 $ETCDV2
ARG K8S=""
ENV K8S $K8S
ENV TRIDENT_IP localhost
COPY ./scripts/* /usr/local/sbin/
COPY $BIN /usr/local/bin
CMD ["/usr/local/bin/$BIN -port $PORT -etcd_v2 $ETCDV2 -k8s_api_server $K8S"]
Loading

0 comments on commit 44272ba

Please sign in to comment.