Commit Graph

184 Commits

Author SHA1 Message Date
Hidde Beydals 77822bd4d1 controllers: simple GitRepository test 2020-05-29 14:24:31 +02:00
Hidde Beydals 5582d99187 testserver: add Git server 2020-05-29 14:24:31 +02:00
Hidde Beydals 96a76c2ad8
Merge pull request #55 from fluxcd/tar-ignore 2020-05-13 20:06:01 +02:00
Hidde Beydals e880a45474 controllers: control tar ignores w/ exclude files
This commit changes the file excludes for tarballs generated for
Git repository artifacts from a fixed set of strings to include
exclusion files files. It currently takes `.sourceignore` and
in the root of the given directory into account.

In addition to this the Git VCS related files that are ignored have
been extended to not only include the .git/ directory, but also the
.gitignore, .gitmodules and .gitattributes files. Mimicking part of
the --exclude-vcs flag not available on all tar versions.
2020-05-13 19:45:31 +02:00
Stefan Prodan a598f5a808
Merge pull request #54 from fluxcd/release-0.0.1-alpha.6
Release v0.0.1-alpha.6
2020-05-06 11:04:05 +03:00
stefanprodan 937a665e4a Release v0.0.1-alpha.6 2020-05-06 10:48:34 +03:00
Stefan Prodan 70aa393e0a
Merge pull request #53 from fluxcd/watch-namespace
Reconcile sources in the runtime namespace only
2020-05-04 09:31:39 +03:00
Hidde Beydals 0354d8da39
Merge pull request #52 from fluxcd/git-improvements 2020-05-03 23:38:13 +02:00
Hidde Beydals 078d0057a8 build: drop openssh-client 2020-05-03 23:07:27 +02:00
Hidde Beydals 9c67baa158 controllers: implement checkout strategies 2020-05-03 23:04:12 +02:00
stefanprodan d27cc96233 Reconcile sources in the runtime namespace only 2020-05-03 13:04:00 +03:00
Hidde Beydals 40b1369ace git: add checkout strategies 2020-05-03 10:03:47 +02:00
Hidde Beydals e42561f13b git: refactor transport into strategies 2020-05-03 10:03:47 +02:00
Hidde Beydals d0487302f6 git/ssh: use in-memory known hosts database 2020-05-03 10:03:42 +02:00
Hidde Beydals 48fcc52a3d controllers: factor out GitRepository verification 2020-05-02 21:44:27 +02:00
Stefan Prodan 4f1829914d
Merge pull request #51 from fluxcd/release-v0.0.1-alpha.5
Release v0.0.1-alpha.5
2020-04-30 16:59:09 +03:00
stefanprodan 913c2eec0d Release v0.0.1-alpha.5 2020-04-30 16:48:42 +03:00
Stefan Prodan 9c9b321d36
Merge pull request #50 from fluxcd/ref-serialization
git: fix reference json serialization
2020-04-30 11:03:05 +03:00
stefanprodan ca884a9b37 test: fix GC tests for macOS 2020-04-30 09:56:46 +03:00
stefanprodan c9db552555 git: fix reference json serialization
- add omitempty to GitRepositoryRef fields
2020-04-30 09:54:34 +03:00
Hidde Beydals f2bff9053d
Merge pull request #49 from fluxcd/gitrepository-panic 2020-04-29 17:04:32 +02:00
Hidde Beydals 2c0b175807 controllers: check GitRepository reference != nil
To prevent the reconciler from panicing when no reference is
configured for the GitRepository.
2020-04-29 16:45:25 +02:00
Stefan Prodan af77de193b
Merge pull request #48 from fluxcd/status-message
status: add revision to the ready condition message
2020-04-29 10:43:57 +03:00
stefanprodan 5ee875afbd status: add revision to the ready condition message 2020-04-29 08:49:45 +03:00
Stefan Prodan 6ffb946c54
Merge pull request #47 from fluxcd/revision-fix
git: fix revision for git tags
2020-04-28 20:41:10 +03:00
stefanprodan 62d3469ce1 build: install tar package 2020-04-28 20:18:58 +03:00
stefanprodan f0497d3164 Fix revision for git tags 2020-04-28 20:18:33 +03:00
Stefan Prodan 56b264e06d
Merge pull request #46 from fluxcd/release-v0.0.1-alpha.4
Release v0.0.1-alpha.4
2020-04-28 15:09:51 +03:00
stefanprodan 86117cf2eb Release v0.0.1-alpha.4 2020-04-28 14:58:04 +03:00
Stefan Prodan c71cfa3a06
Merge pull request #45 from fluxcd/artifact-integrity-check
git: add archive integrity check
2020-04-28 13:15:49 +03:00
stefanprodan 9540efe9de git: add archive integrity check 2020-04-27 13:39:36 +03:00
Stefan Prodan 8b98573493
Merge pull request #44 from fluxcd/release-v0.0.1-alpha.3
Release v0.0.1-alpha.3
2020-04-27 12:25:48 +03:00
stefanprodan 4282189591 Release v0.0.1-alpha.3 2020-04-27 12:11:34 +03:00
Stefan Prodan b078847ce8
Merge pull request #43 from fluxcd/progressing-status
status: record progressing as intermediate state
2020-04-27 11:59:13 +03:00
stefanprodan 8071dadbf0 status: record progressing
Set ready condition to unknown while the reconciliation is progressing.
This allows other operators to wait for a sync to complete.
2020-04-27 11:16:35 +03:00
Stefan Prodan 9af721f431
Merge pull request #42 from fluxcd/fix-git-sync
git: Update status after sync failure
2020-04-27 11:14:50 +03:00
stefanprodan 502a80b194 git: Update status after sync failure 2020-04-26 23:21:16 +03:00
Hidde Beydals 019d8f1215
Merge pull request #41 from fluxcd/release-v0.0.1-alpha.2 2020-04-24 14:12:22 +02:00
Hidde Beydals 98cade9443 Release v0.0.1-alpha.2 2020-04-24 14:01:19 +02:00
Hidde Beydals 36e59f7aac docs: document release process 2020-04-24 13:32:35 +02:00
Hidde Beydals 0fa698482a
Merge pull request #40 from fluxcd/spec/gitrepository-timeout 2020-04-24 13:02:37 +02:00
Hidde Beydals 13a0f1232a spec: document GitRepositorySpec Timeout field 2020-04-24 11:59:34 +02:00
Stefan Prodan c6e2a57212
Merge pull request #39 from fluxcd/deploy-config
deploy: reusable config
2020-04-24 12:31:08 +03:00
stefanprodan 7ef9218de9 deploy: reusable config 2020-04-24 12:17:33 +03:00
Stefan Prodan f469418dcd
Merge pull request #38 from fluxcd/nonroot
build: run controller as a non-root user
2020-04-24 12:10:50 +03:00
stefanprodan a6a41eeec5 deploy: add liveness and readiness probes 2020-04-24 11:56:51 +03:00
Stefan Prodan 1a1b288a82
Merge pull request #37 from fluxcd/json-logs
controllers: add JSON logging cmd flag
2020-04-24 11:49:04 +03:00
stefanprodan d0cdb6b029 deploy: add container security context
- deny privilege escalation
- set readonly root fs
- add tmp emptyDir volume
2020-04-24 11:45:23 +03:00
stefanprodan 4b465563b4 build: run controller as a non-root user 2020-04-24 10:14:45 +03:00
stefanprodan eeab85c0cb controllers: add JSON logging cmd flag 2020-04-24 10:05:32 +03:00