Skip to content

Commit

Permalink
[Development][Update] Updated operator version and fixed alot of issu…
Browse files Browse the repository at this point in the history
…es (OT-CONTAINER-KIT#26)

* Initial code for v0.1.X

Signed-off-by: iamabhishek-dubey <[email protected]>

* Added README and logo

Signed-off-by: iamabhishek-dubey <[email protected]>

* Added other files

Signed-off-by: iamabhishek-dubey <[email protected]>

* Redis operator changes to replace initial code

Signed-off-by: iamabhishek-dubey <[email protected]>

* Updated API for redis

Signed-off-by: iamabhishek-dubey <[email protected]>

* Added code for redis setup

Signed-off-by: iamabhishek-dubey <[email protected]>

* Updated controller code

Signed-off-by: iamabhishek-dubey <[email protected]>

* Updated controller code

Signed-off-by: iamabhishek-dubey <[email protected]>

* Renamed helm charts

Signed-off-by: iamabhishek-dubey <[email protected]>

* Updated CHANGELOG with latest version

Signed-off-by: iamabhishek-dubey <[email protected]>

* Updated examples

Signed-off-by: iamabhishek-dubey <[email protected]>

* Added Circle CI config

Signed-off-by: iamabhishek-dubey <[email protected]>

* Fixed code for image building

Signed-off-by: iamabhishek-dubey <[email protected]>

* Changed config for circleci

Signed-off-by: iamabhishek-dubey <[email protected]>

* Changed architecture diagram

Signed-off-by: iamabhishek-dubey <[email protected]>

* Fixed code

Signed-off-by: iamabhishek-dubey <[email protected]>

* Updated code to delete secret

Signed-off-by: iamabhishek-dubey <[email protected]>

* Fixed storageclass

Signed-off-by: iamabhishek-dubey <[email protected]>

* Updated helm chart with latest information

Signed-off-by: iamabhishek-dubey <[email protected]>
  • Loading branch information
iamabhishek-dubey authored Dec 31, 2020
1 parent bff3a70 commit 3282b07
Show file tree
Hide file tree
Showing 102 changed files with 4,353 additions and 2,347 deletions.
64 changes: 0 additions & 64 deletions .circleci/config.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore all files which are not go type
!**/*.go
!**/*.mod
!**/*.sum
84 changes: 15 additions & 69 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,79 +1,25 @@
# Temporary Build Files
build/_output
build/_test
# Created by https://www.gitignore.io/api/go,vim,emacs,visualstudiocode
### Emacs ###
# -*- 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/
dist/
# Flycheck
flycheck_*.el
# server auth directory
/server/
# projectiles files
.projectile
projectile-bookmarks.eld
# directory configuration
.dir-locals.el
# saveplace
places
# url cache
url/cache/
# cedet
ede-projects.el
# smex
smex-items
# company-statistics
company-statistics-cache.el
# anaconda-mode
anaconda-mode/
### Go ###

# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, build with 'go test -c'
bin
testbin/*

# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out
### Vim ###
# swap
.sw[a-p]
.*.sw[a-p]
# session
Session.vim
# temporary
.netrwhist
# auto-generated tag files
tags
### VisualStudioCode ###
.vscode/*
.history
# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode
vendor

# Kubernetes Generated files - skip generated files, except for vendored files

!vendor/**/zz_generated.*

# editor and IDE paraphernalia
.idea
*.swp
*.swo
*~
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
### v0.2
### v0.3.0
##### Decemeber 30, 2020

#### :tada: Features

- Upgraded operator-sdk version to v1.0.3
- Added capability to watch multiple namespaces

### v0.2.0
##### July 1, 2020

#### :tada: Features
Expand Down
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Build the manager binary
FROM golang:1.15 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
COPY go.mod go.mod
COPY go.sum go.sum
# cache deps before building and copying source so that we don't need to re-download as much
# and so that source changes don't invalidate our downloaded layer
RUN go mod download

# Copy the go source
COPY main.go main.go
COPY api/ api/
COPY controllers/ controllers/
COPY k8sutils/ k8sutils/

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
USER 65532:65532

ENTRYPOINT ["/manager"]
Loading

0 comments on commit 3282b07

Please sign in to comment.