Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jx boot adds ingress definitions into environments section in jx-requirements.yaml #5569

Closed
1 of 2 tasks
sdoxsee opened this issue Sep 23, 2019 · 1 comment
Closed
1 of 2 tasks
Labels
area/boot issues in the `jx boot` command kind/bug Issue is a bug priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@sdoxsee
Copy link

sdoxsee commented Sep 23, 2019

Summary

Clone/fork the jenkins-x-boot-config github repo. Run jx boot and the environments node in jx-requirements.yaml gets a bunch of (unused?) ingress definitions.

Slack Reference: https://kubernetes.slack.com/archives/C9MBGQJRH/p1568110165241000?thread_ts=1568102025.228600&cid=C9MBGQJRH

example of corrupted jx-requirements.yaml section:

environments:
- ingress:
    domain: rhervas.info
    externalDNS: true
    namespaceSubDomain: ""
    tls:
      email: <user>@gmail.com
      enabled: true
      production: true
  key: dev
- ingress:
    domain: rhervas.info
    externalDNS: true
    namespaceSubDomain: ""
    tls:
      email: <user>@gmail.com
      enabled: true
      production: true
  key: staging
- ingress:
    domain: rhervas.info
    externalDNS: true
    namespaceSubDomain: ""
    tls:
      email: <user>@gmail.com
      enabled: true
      production: true
  key: production

Expected behavior

should look more like this:

environments:
- key: dev
- key: staging
- key: production

Jx version

2.0.758

Jenkins type

  • Serverless Jenkins X Pipelines (Tekton + Prow)
  • Classic Jenkins

Kubernetes cluster

GKE (jx create cluster gke --skip-installation)

Operating system / Environment

OSX

@deanesmith deanesmith added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. kind/bug Issue is a bug area/boot issues in the `jx boot` command labels Sep 24, 2019
@ccojocar
Copy link
Contributor

This change is part of a fix for #5310. See the PR #5362.

The aim is to make ingress configurable per environment in order to be able to enable TLS for dedicated environment domains.

@deanesmith I wouldn't mark this as a bug but rather close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/boot issues in the `jx boot` command kind/bug Issue is a bug priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

3 participants