Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Add base structure for dev-1.0.0 #44

Merged
merged 60 commits into from
Mar 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
1de3374
Chart make priorityClass optional.
lhotrifork Jan 15, 2020
5f65a64
Chart: use cert-manager.io/v1alpha2 for cert-manager annotations
lhotrifork Jan 15, 2020
9e2d104
Chart Version 0.0.9.
lhotrifork Jan 15, 2020
2998049
Merge pull request #40 from lhotrifork/feature/chart-improvements
rimusz Jan 15, 2020
c019a32
Change user in dockerfile to non-root user
fmotrifork Feb 5, 2020
ffda16b
Non-root is not allowed to bind to 443, fix helmchart
fmotrifork Feb 6, 2020
ca010b1
Merge pull request #41 from fmotrifork/patch-1
rimusz Feb 14, 2020
31787e2
Add default changelog-go config
l0nax Feb 14, 2020
b8434a5
Move benchmark/ into scripts/ directory
l0nax Feb 14, 2020
f99d2f6
Add README.md to docs
l0nax Feb 14, 2020
5ebad27
Add gitlint config
l0nax Feb 14, 2020
065b440
Add vuepress config
l0nax Feb 14, 2020
6ef3131
Re-generate .gitignore
l0nax Feb 14, 2020
6a8291a
Add vuepress dependencies to package.json
l0nax Feb 14, 2020
ae15216
Move package.json into 'doc/'
l0nax Feb 14, 2020
16c3541
Add custom theme and styles from strapi
l0nax Feb 14, 2020
664fcc7
Add 'release.sh' script to doc/
l0nax Feb 14, 2020
93e8852
Regenerate README.md of 'doc/'
l0nax Feb 14, 2020
98b5947
docs: Add README.md of 'dev-1.0.0'
l0nax Feb 14, 2020
cc55002
doc: Remove '/doc' from URL
l0nax Feb 14, 2020
e60b818
doc: migrate to yarn
l0nax Feb 14, 2020
fde1725
doc: Update yarn.lock
l0nax Feb 14, 2020
ee6594d
doc: Add 'Go Report Card' badge to README.md
l0nax Feb 14, 2020
c4e84f9
doc: fix vuepress config
l0nax Feb 14, 2020
a22b8fa
Move go.{sum,mod} to project root
l0nax Feb 17, 2020
42cdec5
Move 'log' pkg into pkg/ directory
l0nax Feb 17, 2020
ce5412e
Move 'admission.go' into a seperate pkg
l0nax Feb 17, 2020
9031b0e
Move main.go & version.go to project root
l0nax Feb 17, 2020
93bc3a0
Add 'fasthttp' to dependencies
l0nax Feb 17, 2020
ac8a544
Add rootCmd in cmd/
l0nax Feb 17, 2020
93b6897
Replace 'flag' library with 'viper'
l0nax Feb 17, 2020
7984d4f
Add 'internal' pkg
l0nax Feb 17, 2020
98a15ae
doc: Add Configuration section
l0nax Feb 17, 2020
529d1ae
doc: Add base children to the sidebar
l0nax Feb 17, 2020
654af30
Cleanup 'Makefile'
l0nax Mar 10, 2020
5abb49f
Add 'help' target with documentation
l0nax Mar 10, 2020
ef0af91
Move build LD flags into own var in Makefile
l0nax Mar 10, 2020
84f2799
Replace 'STRIP_DEBUG' with 'DEBUG'
l0nax Mar 10, 2020
de75b60
Replace 'strip_debug' with 'debug' build tag
l0nax Mar 10, 2020
c8deca8
Add '.editorconfig' to help Contributors
l0nax Mar 10, 2020
002ee0b
Remove deprecated directories
l0nax Mar 10, 2020
73a7d6e
Move 'test/' into '.ci/'
l0nax Mar 10, 2020
8b926b2
Add golangci-lint configuration
l0nax Mar 10, 2020
e26d803
Correct the 'log' package documentation
l0nax Mar 10, 2020
0b995b5
Move 'log' package documentation to doc.go
l0nax Mar 10, 2020
4a82894
Remove 'tls/' directory
l0nax Mar 10, 2020
c5f8691
Move version info vars to 'internal' pkg
l0nax Mar 10, 2020
b5aefd7
Fix wrong syntax in Makefile
l0nax Mar 10, 2020
244fde8
Format 'internal' pkg
l0nax Mar 10, 2020
3d972d5
Correct 'kubenab/pkg/log' path in admission pkg
l0nax Mar 10, 2020
9ce0bba
Update go.(mod|sum)
l0nax Mar 10, 2020
37aee04
Add 'serve' command and flags
l0nax Mar 10, 2020
b56cde1
Add 'logrus' to dependencies
l0nax Mar 10, 2020
62fbbe3
Add wrapper for logrus
l0nax Mar 10, 2020
8a65265
Initialize logrus logger in main.go
l0nax Mar 10, 2020
93c9a7c
Add 'version' flag and flag-checks
l0nax Mar 10, 2020
cf7eb34
Fix missing import in 'serve' cmd
l0nax Mar 10, 2020
f42aab4
Fix version variables in main()
l0nax Mar 10, 2020
bdef721
Fix ldflags in Makefile
l0nax Mar 10, 2020
51580e8
Add BuildFeatures to flags.go
l0nax Mar 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .changelog-go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
# PLEASE DO NOT CHANGE THIS VALUE!
# IT'S NEEDED TO PROVIDE BACKWARD-COMPATIBILITY!!
version: "1"

preRelease:
# if you set 'detect' to true, changelog-go will automatically detect
# if the released Version is an pre-release Version, so a User or CI/CD
# has not to manually set the pre-release Flag.
# To detect such pre-releases changelog-go is using the SemVer
# definition of a pre-release.
#
# Example:
# 1.0.0-alpha.1
# 1.0.0-beta
# 1.0.0-beta.2
# 1.0.0-rc.1
detect: true

# setting 'deletePreRelease' to true will cause changelog-go to delete
# the written Pre-Releases from the CHANGELOG.md file when releasing an
# non-pre-release Version (eg. "1.0.0").
# If 'deletePreRelease' and 'foldPreReleases' are enabled at the same time
# then 'deletePreRelease' will be prioritised.
deletePreRelease: false

# 'foldPreReleases' will "fold" the Pre-Release entries if you release
# an non pre-release.
# To get this Feature working changelog-go uses the HTML tag "<details>"
foldPreReleases: true

# entry defines the Changelog Entry which will be written down to disk (the
# single Changelog Entry File).
entry:
# 'author' enables if changelog-go should grab the author and write it
# down to the Changelog-Entry.
# This can be (later) used to generate statics.
author: true


# changelog represents the general Configuration about the resulting
# CHANGELOG.md.
changelog:
# entryPath sets the Path where changelog-go saves and searches the
# Changelog Entries.
# The Path is an relative path and the beginning is $GOROOT
# If the directory does not exists, changelog-go will create it.
entryPath: ".changelogs"

# set the Path where the Changelog Output will be stored.
changelog: "CHANGELOG.md"

# customScheme describes if 'changelog-go' should search for an custom
# CHANGELOG.md Output Scheme in `changelog.entryPath`.
# If this is set to 'false' (default) then 'changelog-go' will use the
# default one.
customScheme: false
File renamed without changes.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EditorConfig is awesome: https://EditorConfig.org

root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
indent_size = 2
indent_style = space

[{Makefile,go.mod,go.sum,*.go}]
indent_style = tab
indent_size = 8
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,56 @@

# Created by https://www.gitignore.io/api/go,helm,vue,vuejs
# Edit at https://www.gitignore.io/?templates=go,helm,vue,vuejs

### Go ###
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

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

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

### Go Patch ###
/vendor/
/Godeps/

### Helm ###
# Chart dependencies
**/charts/*.tgz

### Vue ###
.DS_*
*.log
logs
**/*.backup.*
**/*.back.*

node_modules
bower_components

*.sublime*

psd
thumb
sketch

### Vuejs ###
# Recommended template: Node.gitignore

node_modules/
dist/
npm-debug.log
yarn-error.log

bin/
files/
tmp/
Expand All @@ -8,3 +61,6 @@ SUBSTITUTIONS
.idea
.vscode
*.swp


# End of https://www.gitignore.io/api/go,helm,vue,vuejs
93 changes: 93 additions & 0 deletions .gitlint
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# All these sections are optional, edit this file as you like.
[general]
# Ignore certain rules, you can reference them by their id or by their full name
# ignore=title-trailing-punctuation, T3
ignore=body-is-missing,T3

# verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this
# verbosity = 2

# By default gitlint will ignore merge commits. Set to 'false' to disable.
ignore-merge-commits=true

# By default gitlint will ignore fixup commits. Set to 'false' to disable.
# ignore-fixup-commits=true

# By default gitlint will ignore squash commits. Set to 'false' to disable.
ignore-squash-commits=true

# Ignore any data send to gitlint via stdin
ignore-stdin=true

# Enable debug mode (prints more output). Disabled by default.
# debug=true

# Enable community contributed rules
# See http://jorisroovers.github.io/gitlint/contrib_rules for details
# contrib=contrib-title-conventional-commits,CC1

# Set the extra-path where gitlint will search for user defined rules
# See http://jorisroovers.github.io/gitlint/user_defined_rules for details
# extra-path=examples/

[title-max-length]
line-length=50

# [title-must-not-contain-word]
# Comma-separated list of words that should not occur in the title. Matching is case
# insensitive. It's fine if the keyword occurs as part of a larger word (so "WIPING"
# will not cause a violation, but "WIP: my title" will.
# words=wip

# [title-match-regex]
# python like regex (https://docs.python.org/2/library/re.html) that the
# commit-msg title must be matched to.
# Note that the regex can contradict with other rules if not used correctly
# (e.g. title-must-not-contain-word).
# regex=^US[0-9]*

[B1]
line-length=80

[body-min-length]
min-length=5

# [body-is-missing]
# Whether to ignore this rule on merge commits (which typically only have a title)
# default = True
# ignore-merge-commits=false

# [body-changed-file-mention]
# List of files that need to be explicitly mentioned in the body when they are changed
# This is useful for when developers often erroneously edit certain files or git submodules.
# By specifying this rule, developers can only change the file when they explicitly reference
# it in the commit message.
# files=gitlint/rules.py,README.md

# [author-valid-email]
# python like regex (https://docs.python.org/2/library/re.html) that the
# commit author email address should be matched to
# For example, use the following regex if you only want to allow email addresses from foo.com
# regex=[^@][email protected]

# [ignore-by-title]
# Ignore certain rules for commits of which the title matches a regex
# E.g. Match commit titles that start with "Release"
# regex=^Release(.*)
#
# Ignore certain rules, you can reference them by their id or by their full name
# Use 'all' to ignore all rules
# ignore=T1,body-min-length

# [ignore-by-body]
# Ignore certain rules for commits of which the body has a line that matches a regex
# E.g. Match bodies that have a line that that contain "release"
# regex=(.*)release(.*)
#
# Ignore certain rules, you can reference them by their id or by their full name
# Use 'all' to ignore all rules
# ignore=T1,body-min-length

# [contrib-title-conventional-commits]
# Specify allowed commit types. For details see: https://www.conventionalcommits.org/
# types = bugfix,user-story,epic
Loading