Commit Graph
134 Commits
Author SHA1 Message Date
f077aa5e16 stable/concourse: remove workerKeyPub from worker secrets (#15579)
- removed references to the worker public key from the worker deployment
- on the Concourse side, added more tests to make sure this is not used
anywhere (see: concourse/concourse#4133)

fixes: #13019

Signed-off-by: Zoe Tian <ztian@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Ciro S. Costa <cscosta@pivotal.io>
2019-07-25 08:11:53 -07:00
6208360cb1 [stable/concourse] Bump image tag to 5.4.0 (#15718)
* Bump image tag to 5.4.0

Signed-off-by: Taylor Silva <tsilva@pivotal.io>
Co-authored-by: Jamie Klassen <cklassen@pivotal.io>

* [stable/concourse] Update README.md

Signed-off-by: Taylor Silva <tsilva@pivotal.io>
Co-authored-by: Jamie Klassen <cklassen@pivotal.io>
2019-07-19 10:53:12 -07:00
f3dde5b4c0 [stable/concourse] Remove nodePort in tsa addr template (#15543)
Previously, the `concourse.web.tsa.address` template used to take
`tsaNodePort` (the `nodePort` set for the TSA endpoint in the web
service) as part of the address that the worker should use to connect to
it, but that is just wrong as the `worker`s are fully able to connect
through regular target ports within the cluster (which is the case when
running a full deployment).

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>
2019-07-18 07:50:11 -07:00
Zabielski, KamilandKubernetes Prow Robot 4b86045303 [stable/concourse]: Add a default prefix (#15412)
* [concourse]: Add a default prefix

This commit adds a default value for prefix, pre reference:
https://docs.datadoghq.com/integrations/concourse_ci/.
It avoids emitting custom metrics.

Signed-off-by: Zabielski, Kamil <kamil.zabielski@lintops.tech>

* Add agentPort; fix README order

Signed-off-by: Zabielski, Kamil <kamil.zabielski@lintops.tech>

* Make values in README sorted alphabetically

Signed-off-by: Zabielski, Kamil <kamil.zabielski@lintops.tech>

* Cut duplicate in values, in README

Signed-off-by: Zabielski, Kamil <kamil.zabielski@lintops.tech>
2019-07-12 06:25:05 -07:00
Robert Van VoorheesandKubernetes Prow Robot 063de428d8 Just removes some annoying warning messages when you add annotations. (#15103)
Signed-off-by: Robert Van Voorhees <rcvanvo@gmail.com>
2019-07-06 06:02:34 -07:00
4060f5b566 [stable/concourse] properly cleanup btrfs subvolume and children (#14941)
When a `dind` (Docker in Docker) image is used with btrfs to e.g. run
integration tests as per https://hub.docker.com/r/amidos/dcind/ in some
occasions like job errors or interruptions the btrfs subvolumes are left
not cleaned.

So what happens then is that when the `rm -rf /concourse-worker-dir`
runs it fails with `Operation not permitted` error which then causes
`Init:Error` and ends in `Init:CrashLoopBackOff`.

The solution is to take that into account and properly delete all of the
btrfs subvolumes.

This can be achieved either with the suggested script or with the mount
option [user_subvol_rm_allowed](https://askubuntu.com/questions/509292/how-to-set-user-subvol-rm-allowed-capability)
that is tricky to apply or with that delete script that seems as a
better option.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
Co-authored-by: Radoslav Kirilov <rkirilow@gmail.com>
Co-authored-by: Taylor Silva <tsilva@pivotal.io>
2019-07-04 19:26:35 -07:00
e17e09f189 Worker-only deployments take a list of hostnames & ports (#15220)
- Changed web.tsa.host to web.tsa.hosts which now takes a list of
hostnames and ports
- For web & worker deployments (default state) we read the port number
from the web's config values (bindPort)

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
Co-authored-by: Taylor Silva <tsilva@pivotal.io>
Signed-off-by: Zoe Tian <ztian@pivotal.io>
2019-07-03 06:38:31 -07:00
ShyamalaandKubernetes Prow Robot 01e53342fd stable/concourse: Improve documentation awsSecretsManager template (#15038)
* [stable/concourse] Improve documentation: update template values of awsSecretsManager

Provide the right default template for pipeline and team for awsSecretsManager

Signed-off-by: Syamala Umamaheswaran <shykart2203@gmail.com>

* [stable/concourse]: Improve documentation: update template values for ssm

Signed-off-by: Syamala Umamaheswaran <shykart2203@gmail.com>

* [stable/concourse]: Bump chart version to 7.0.2

Signed-off-by: Syamala Umamaheswaran <shykart2203@gmail.com>
2019-07-02 12:16:29 -07:00
fbb5b707d2 [stable/concourse] Add Concourse default values to chart values (#12763)
* [stable/concourse]: adding web default values to values.yml

- setting the default values as per the concourse binary
- for the issue: helm/charts#12221

Signed-off-by: Sameer Vohra <svohra@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>

* [stable/concourse] Add default worker values to values.yml

- Added the default values as per the concourse binary
- for the issue: helm/charts#12221

Signed-off-by: Sameer Vohra <svohra@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>

* [stable/concourse] Update Chart, values & deployment

- bump chart version
- add defaults for postgres, syslog, credentials
- removed GC override flag as defaults are set
- fixed syslog hostname typo

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Sameer Vohra <svohra@pivotal.io>
2019-06-27 12:11:21 -07:00
Ciro S. CostaandKubernetes Prow Robot d2860446f7 [stable/concourse] updates pg subchart (0.13.1 -> 5.3.8) (#14945)
There's been a long time since the last upgrade that we did to the
subchart that Concourse optionally depends on.

With the upgrade, some values set in the `postgresql` chart changed. As
those are exposed in `concourse`'s `values` too (and we version our
Chart based on its public interface - values.yaml), this made it deserve
a major version bump.

For those users not making use of the subchart (or changing the default
values), no changes ar necessary.

For those who *are* configuring `postgresql.*` values - changes will
almost certainly be necessary.

closes #11610

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-06-21 05:52:36 -07:00
taha-auandKubernetes Prow Robot 7b5e1137e4 [stable/concourse] allow additional concourse worker and web pod labels (#14914)
Signed-off-by: taha-au <taha@autonomic.ai>
2019-06-20 06:04:49 -07:00
ea5deb49c5 [stable/concourse] Update image tag to 5.3.0 (#14786)
* [stable/concourse] Update image tag to 5.3.0

Signed-off-by: Bin Ju <bju@pivotal.io>
Co-authored-by: Taylor Silva <tsilva@pivotal.io>
Signed-off-by: Bin Ju <bju@pivotal.io>

* [stable/concourse] Update readme with correct imageTag value

Signed-off-by: Bin Ju <bju@pivotal.io>
Co-authored-by: Taylor Silva <tsilva@pivotal.io>
2019-06-13 11:10:20 -07:00
Aaron GershmanandKubernetes Prow Robot 087932063c [stable/concourse] credhub credential manager options (#14545)
* [stable/concourse] credhub credential manager options

Signed-off-by: Aaron Gershman <aegershman@gmail.com>

* [stable/concourse] template for client id and secret

Signed-off-by: Aaron Gershman <aegershman@gmail.com>
2019-06-13 10:26:20 -07:00
3b8631a4db adds Lets Encrypt config flags (#14292)
Signed-off-by: Taylor Silva <tsilva@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>
2019-06-11 08:14:19 -07:00
Jason MorganandKubernetes Prow Robot 060b57708e [stable/concourse] Updated values file comments. (#14342)
* Updated values file.

Concourse has changed out the separator that works for approle in vault, the = has been replaced by a :. I also updated the refernce link as the Concourse docs page has changed. This is a response to issue #14341.

Signed-off-by: Jason Morgan jmorgan@f9vs.com
Signed-off-by: Jason Morgan <jmorgan@f9vs.com>

* bumping chart version

Signed-off-by: Jason Morgan <jmorgan@f9vs.com>
2019-05-31 05:48:27 -07:00
Bishoy YoussefandKubernetes Prow Robot f5420aac95 [stable/concourse] Updating maintainers (#13366)
- Adding myself to the list of maintainers/owners of concourse chart.

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
2019-05-23 13:02:25 -07:00
Ciro S. CostaandKubernetes Prow Robot df6254554b [stable/concourse] Update flags for 5.2 (#13295)
* [stable/concourse] Update flags for next Concourse release

- Adds `CONCOURSE_CLUSTER_NAME` (concourse.web.clusterName)
  - https://github.com/concourse/concourse/pull/3736<Paste>

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>

* [stable/concourse] add generic secret configurations

With the introduction generic caching, we no longer need the
vault-specific cacheing flags, while at the same time, having the need
of providing new ones (generic).

https://github.com/concourse/concourse/pull/3628

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>

* [stable/concourse] add auditing flags

With the introduction of auditing capabilities (see Auditor#3577 [1]),
it's now possible to configure in a per-subsystem basis which API
requests an installation should audit.

This commit adds the necessary support for such flags.

[1]: https://github.com/concourse/concourse/pull/3577

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>

* [stable/concourse] update image version to 5.2.0

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
Co-authored-by: Krishna Mannem <kmannem@pivotal.io>

* [stable/concourse] Add time based build log retention flags

concourse/concourse#3560

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
Co-authored-by: Krishna Mannem <kmannem@pivotal.io>

* [stable/concourse] add support for externalGardenUrl

With the addition of `external-garden-url` to the `concourse worker`
command, one is now able to reference a non-embedded garden server to be
used as the target for container creation.

https://github.com/concourse/concourse/pull/3806

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-05-20 04:23:11 -07:00
Carlos Tadeu Panato JuniorandKubernetes Prow Robot b569a2957c add apiVersion (#13774)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-05-14 13:57:51 -07:00
Yann DavidandKubernetes Prow Robot 9022489897 [stable/concourse] Add possibility to set strategy for rollingUpdates (web) (#13616)
* Add possibility to set strategy for rollingUpdates (web)

Signed-off-by: Yann David <davidyann88@gmail.com>

* Bump minor instead of patch

Signed-off-by: Yann David <davidyann88@gmail.com>
2019-05-10 09:47:58 -07:00
8e93db665c stable/concourse: separate worker, web deployments (#12920)
* stable/concourse: separate worker, web deployments

- Added .Values.Web.enabled and .Values.worker.enabled (with default to
true).
- if only .Values.web.enable is enabled: only web resources are going to
be created, as well as secrets namespace.
- if only .Values.worker.enable is enabled: only worker resources are going to
be created.
- moved the worker specific and web specific secrets each to a seprate
file and secrets object.
- added .Values.concourse.worker.tsa.port and utilised
.Values.concourse.worker.host in order to alow the user to set the
`CONCOURSE_TSA_HOST` easily.
- removed the template `concourse.concourse.fullname` as it is not used
anymore.
- bumped the chart version to 6.0.0, as this adds new ways to use the
chart.
- added the new variables to the README doc.

for the issue: helm/charts#11280

Signed-off-by: Taylor Silva <tsilva@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>
Signed-off-by: Taylor Silva <tsilva@pivotal.io>

* [stable/concourse] bumping chart version and updating the Readme

Signed-off-by: Taylor Silva <tsilva@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>

* Adds a required check yaml for having either the web or worker enabled

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* Adds required for concourse.worker.tsa in case of worker only deployments

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* updates readme

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* adds changelog file

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* Apply suggestions from code review

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
2019-04-25 13:30:32 -07:00
Bishoy YoussefandKubernetes Prow Robot 3caf789dfe [stable/concourse] bump imageTag and appVersion (#13204)
Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
2019-04-23 11:10:00 -07:00
2ab3b11ccc [stable/concourse] #12431 concourse 5.1 params (#12436)
* [stable/concourse]: Update flags for 5.1

- Add flag: peer-address
- remove flag: peer-ip
- remove flag: peer-url
- remove flag: baggageclaim-reap-interval

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Sameer Vohra <svohra@pivotal.io>

* [stable/concourse]: Remove redundant worker peerIp

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Sameer Vohra <svohra@pivotal.io>

* add worker container/volume sweeper max in flight

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Sameer Vohra <svohra@pivotal.io>

* add vault shared path

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Sameer Vohra <svohra@pivotal.io>

* add extra oauth and oidc params

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Sameer Vohra <svohra@pivotal.io>

* Update worker-statefulset.yaml

- quote max in flight volume/container values

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>

* [stable/concourse] latest concourse params:

- Adds concourse.web.peerAddress
- Removes concourse.web.tsa.peerAddress

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Bishoy Youssef <byoussef@pivotal.io>

* bump chart version

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
2019-04-22 09:11:56 -07:00
ed1f39af5e [stable/concourse]: preStop Script bug fix (#12833)
- move the worker preStop script to a configMap
- add a wait for the worker process to exit in the preStop script

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Taylor Silva <tsilva@pivotal.io>
Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
2019-04-09 09:27:58 -07:00
tareksandKubernetes Prow Robot 0cf752adac Allow AWS role based authentication to Secrets Manager and Systems Manager (#10237)
* Bumped major chart version

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>

* Added documentation to explain how authentication paramters work.

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>

* Added new keyauth variables and conditionals to match them for secrets manager and systems manager. Session token must now be explictly enabled if used.

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>

* Fixed typo with awsSsm paramter name

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>

* Fixed minor version

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>

* Uncommented session token flag and set default to false.

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>

* Added missing backticks that broke formatting

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>
2019-04-03 06:19:42 -07:00
Alex SuraciandKubernetes Prow Robot 12dfbf4d61 [stable/concourse] bump Concourse to 5.0.1 (#12508)
Signed-off-by: Alex Suraci <suraci.alex@gmail.com>
2019-03-25 11:56:19 -07:00
Bishoy YoussefandKubernetes Prow Robot 4a5da30350 [stable/concourse] Easier way to add team external workers (#12056)
* [stable/concourse] Easier way to add team workers

- Previously, in order to add an external worker to the web deployment,
worker keys were to be added as a seprate secret or a config map and
then mounted as an addtional volume to the web pod.

- With this feature, only team names and public keys are to be added to
the secrets as an array and the creation of secrets and mounting the
volumes is done automatically.

- Also, removed `.Values.concourse.Web.teamAuthorizedKeys` as it won't
be used anymore.

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* fixing per Ciro's comments

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* concourse/stable bump major version

- also, fixing linting error.

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* adds security caveats and extra reads

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>

* rename teamKeys to teamAuthorizedKeys

Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
2019-03-15 13:48:57 -07:00
Ciro S. CostaandKubernetes Prow Robot 907b57881b [stable/concourse] Upgrade to 5.0.0 (#11876)
* [stable/concourse] Upgrade to 5.0 (breaking)

This commit provides the necessary updates to fully support the latest
version of Concourse: 5.0.

BREAKING:
- `concourse.web.auth.mainTeam.allowAllUsers`, which was previously used
  to allow any logged user to be part of `main`, has now been removed;

- `concourse.worker.bindDebugPort` is now
  `concourse.worker.debugBindPort`;

- `concourse.worker.baggageclaim.bindDebugPort` is now
  `concourse.worker.baggageclaim.debugBindPort`;

- `concourse.worker.garden.*` variables that would previously turn into
  environment variables that got translated to `gdn`-specfic tunings are
  not values that can be set through `concourse.worker.garden` anymore.
  These can still be provided through environment variables though -
  `CONCOURSE_GARDEN_...` works as before.

DEPRECATIONS:
- `concourse.worker.peerIp` is not used anymore;
- `worker.fatalErrors` are not used anymore in favor of worker
   healthchecks through a specific port (`worker-hc`) in the worker
   container.

ENHANCEMENTS:
- reduced complexity in the liveness probe for the worker, removing the
  need for custom scripts to verify its health;
- bitbucket cloud is now supported through
  `secrets.bitbucket-cloud-client*` and other `concourse.web.*`
  configurations;
- AWS region settings can now be configured at environment-var level
  instead of arguments;
- garden configuration can be specified through `ini` files that can be
  passed through `configmap`s;
- RBAC configuration for local users can be specified through
  `configmap`s
- ability to opt-out of the automatic removal of
  `concourse.worker.workDir` contents
- ability to specify whether `land`ing or `retire`ing should be
  performed when terminating the worker pod (through the configuration
  of `worker.shutdownSignal`);
- ability to specify custom readinessProbe for the worker;
- more consistent `values.yaml` examples and documentation.

Concourse-specific release notes (that are do not affect the Chart
structure itself) can be found in the Concourse website:

- https://concourse-ci.org/download.html#v500

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>

* [stable/concourse] Updates README to match values for 5.0

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-03-09 08:15:28 -08:00
8a35ac6804 [stable/concourse] allow specifying sidecar containers (#11507)
Signed-off-by: Bishoy Youssef <byoussef@pivotal.io>
Co-authored-by: Ciro S. Costa <cscosta@pivotal.io>
2019-02-25 17:18:03 -08:00
Ciro S. CostaandKubernetes Prow Robot bfd68b131a [stable/concourse] Make values.yaml more consistent; uncomments fields (#11296)
The `values.yaml` for `stable/concourse` didn't look much consistent,
having some values with totally different commenting formats compared
to others.

This commit also improves the documentation around some of those values
that are not very easy to infer what they're all about.

By making the values uncommented we can leverage tools that parse yaml
files to make sure we have all variables documented.

He we also remove an unused debug values file and fix few values check.

With the use of default values under `values.yaml` as opposed to
commented fields, few values (like default `storageClass`) needed to be
updated, as well as adding few checks.

Also, Previously we allowed the creation of objects that wouldn't pass
`kubeval`'s validation. Now `kubeval` is ok with all of our objects.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-02-25 11:37:16 -08:00
Carlos Tadeu Panato JuniorandKubernetes Prow Robot 7a098df7a6 set keepNamespaces to false when testing on ci (#11531)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-02-19 06:16:09 -08:00
Jan BrauerandKubernetes Prow Robot 4df52d5628 Remove duplicate line (#11322)
Signed-off-by: Jan Brauer <jan.brauer@superluminar.io>
2019-02-12 05:55:05 -08:00
Rafal ProszowskiandKubernetes Prow Robot 0662ec9efe [stable/concourse] Allow namespace creation independently of rbac (#10786)
* Allow namespace creation independently of rbac

At the moment, when defining `concourse.web.kubernetes.teams`, the helm
chart will take care of namespace generation. Although this is very
useful in most cases, we believe some people may find it problematic.

Our use case, is to create the namespaces ahead of time and fill them
with `Pipeline` type resources defining Concourse pipelines. These are
then picked by our `pipeline-operator` and continuously applied to
Concourse for specific teams.

A hacky way around it, would be to set the
`concourse.web.kubernetes.teams` value to an empty array, and create the
role bindings manually. It feels a little like cheating, and a cleaner
way to accomplish that would be to have a separate flag responsible for
namespace creation in the Concourse helm chart.

Signed-off-by: Rafal Proszowski <paroxp@gmail.com>

* Bump patch

Signed-off-by: Rafal Proszowski <paroxp@gmail.com>
2019-01-29 05:08:01 -08:00
Ciro S. CostaandKubernetes Prow Robot 5607847cba [stable/concourse] Update maintainers (#10905)
Adding myself to the list of maintainers and owners of the
Concourse chart and removing those who have not been actively working on
it recently.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-25 13:03:56 -08:00
Ciro S. CostaandKubernetes Prow Robot 68d82cb304 [stable/concourse] Adds additional volumes and volumeMounts to web (#10885)
Previously, it was not possible to include neither additional volumes
nor volume mounts to the web instance.

This ends up prohibiting and operator of specifying configuration for
team authorized keys, or any other future configuration that might
depend on files on disk.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-25 10:11:49 -08:00
Ciro S. CostaandKubernetes Prow Robot 292034451b [stable/concourse] add warning about test user; updates README (#10766)
This commit improves:

- notes regarding the use of the default `test:test` default user that
  concourse adds; and
- README instructions
  - so that we don't use the future tense too much; and
  - instructions regarding credential management and postgresql match the
    actual `values.yml` structure.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-24 11:00:39 -08:00
Richard GoddenandKubernetes Prow Robot df3d664764 Webservice labels (#10808)
* specify additional labels for web service

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* added web service labels to README

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* bump version

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* bump version

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-01-21 14:13:05 -08:00
Vlad YarotskyandKubernetes Prow Robot 58b1271667 [stable/concourse] Workaround for https://github.com/concourse/concourse#2191 (#10773)
This commit allows to use AWS Secrets Manager without simultaneously
activating AWS SSM, and vice versa.
This should not be a problem in concourse 5.0.0, but the 4.x.x is still
affected.

Signed-off-by: Vladimir Yarotsky <vladimir@pubnub.com>
2019-01-21 12:27:14 -08:00
Richard GoddenandKubernetes Prow Robot b4450a688c [stable/concourse] Specify secrets mount path (#9364)
* control the mount paths of the secret keys and certs

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* added variables to readme

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* secrets mountpath now has defaults

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* using web and worker keys to specify secrets mount path

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* lint

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* changed secrets path keys in README

Signed-off-by: Richard Godden <goddenrich@gmail.com>

* setting secret mount path defaults in the values.yaml instead of the templates

Signed-off-by: rgodden <rgodden@thoughtmachine.net>

* specifying mount path for tls

Signed-off-by: rgodden <rgodden@thoughtmachine.net>

* bump version

Signed-off-by: rgodden <rgodden@thoughtmachine.net>
2019-01-18 14:47:25 -08:00
Ciro S. CostaandKubernetes Prow Robot d845bfa6a2 Revert "[stable/concourse] Moves prometheus annotation to deployment (#9536)" (#10624)
This reverts commit ff86c681bb.

The change was still being discussed when this got merged.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-14 17:18:37 -08:00
Ciro S. CostaandKubernetes Prow Robot f67e0722e0 [stable/concourse] Adds imagepullSecrets support (#9614)
`imagePullSecrets` can now be specified in order to
be able to pull the image from a registry that requires
auth.

closes helm/charts#9228.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-14 15:08:34 -08:00
Ciro S. CostaandKubernetes Prow Robot ff86c681bb [stable/concourse] Moves prometheus annotation to deployment (#9536)
Previously, Prometheus annotations were added to the web service,
which is meant to represent the whole replica set of pods, leaving
no pod-specific labels to the metrics gathered, defeating the
purpose of some of them (that are meant to be container-specific).

By moving them to `deployment`, we're able to collect them per-pod,
instead of per-service.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-14 14:29:25 -08:00
Ciro S. CostaandKubernetes Prow Robot 35c9af9569 [stable/concourse] makes Web probes configurable (#9906)
Following the example set by the grafana chart (see [1]), this commit
turns `web` probes into configurable entities.

It also makes use of `/api/v1/info` as the default endpoint for
performing the requests against so `web` doesn't return the whole
initial page as a return value (instead, just a very small json from
`/api/v1/info`).

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-14 14:18:46 -08:00
Ciro S. CostaandKubernetes Prow Robot 7df723f4c4 [stable/concourse] Improves use of TLS certs (#9665)
Previously, configuring ATC as an HTTPS-enabled service wasn't
an easy thing to do.

After this commit, such capability is achieved by configuring
the `tls` object under `concourse.web`:

    concourse:
      web:
        tls: { enabled: true , bindPort: 443 }

With that configured, a cert and a key gets injected into the
containers via secrets:

    secrets:
      webTlsCert: |
        <my_cert_chain>
      webTlsKey: |
        <my_private_key>

Which are then referenced in the right environment variables and
exposed in the service using the proper port.

Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
2019-01-14 13:55:00 -08:00
JepplerandKubernetes Prow Robot e638ecc243 [stable/concourse] Fix AWS SSM Syntax Error (#9204)
* fix credential manager and version bump

Signed-off-by: Jeeppler <je.eppler@mailbox.org>

* bump version, remove newline

Signed-off-by: Jeeppler <je.eppler@mailbox.org>

* lower version number

Signed-off-by: Jeeppler <je.eppler@mailbox.org>

* bump version to 3.1.1

Signed-off-by: Jeeppler <je.eppler@mailbox.org>
2019-01-14 12:44:21 -08:00
Richard AlbertoandKubernetes Prow Robot 65f730c1b5 Limit emptyDir size (#9207)
Signed-off-by: Richard Alberto <r@richardalberto.com>
2019-01-14 12:21:26 -08:00
nota-jaandKubernetes Prow Robot 1c15a984e9 [stable/concourse] Fix variable references in NOTES.txt (#10416)
`.Values.concourse.atcPort` has been replaced with `.Values.concourse.web.bindPort`
in 263bc80322.
So the references in NOTES.txt should also be updated.

Signed-off-by: Noburou TANIGUCHI <dev@nota.m001.jp>
2019-01-06 22:08:11 -08:00
Carlos Tadeu Panato JuniorandKubernetes Prow Robot fbbdec5174 bump concourse to 4.2.2 (#9920)
Signed-off-by: cpanato <ctadeu@gmail.com>
2018-12-12 05:30:22 -08:00
Chris Hiestandandk8s-ci-robot 5397ec2808 concourse: move vault auth param to secret (#8094)
vault auth params are sensitive credentials and should be treated as
secret

This returns auth params functionality closer to concourse chart v1.16.1,
but it is a breaking change compared to that version

Signed-off-by: Chris Hiestand <chrishiestand@gmail.com>
2018-11-07 22:30:03 -08:00
Norbert Buchmüllerandk8s-ci-robot 38b2b72ded stable/concourse: allow taking over the concourse-work-dir volume (#7063)
* stable/concourse: allow taking over the `concourse-work-dir` volume

This allows using a user-defined volume spec (set in
`worker.additionalVolumes` with `name: concourse-work-dir`) instead of
the default `emptyDir` when `persistence.enabled: false` is set.

It changes the behaviour in a backward-compatible way: previously using
`name: concourse-work-dir` in any `worker.additionalVolumes` resulted in
an error (two volumes defined with the same name), now instead of the
error it will use that additionalVolume spec to back the
`concourse-work-dir` volume mount (given that `persistence.enabled` is
false).

Signed-off-by: Norbert Buchmueller <norbert.buchmueller@optiopay.com>

* stable/concourse: bump chart version

Signed-off-by: Norbert Buchmueller <norbert.buchmueller@optiopay.com>
2018-11-07 16:24:04 -08:00
tareksandk8s-ci-robot b1b3960db0 Correct typos related to AWS deployments (#8423)
* Fixed typos in the AWS SecretsManager and SSM sections from concoures to concourse.

Also, corrected what appeared to be a misplaced SSM variable in the SecretsManager section.

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>

* Bumped chart version.

Signed-off-by: Tarek Mokhtar <tareks01@yahoo.co.nz>
2018-11-07 10:46:29 -08:00