Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Update project_export.sh #1102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felixkrohn
Copy link

export endpoints only if the SVC has defined .spec.selector fields.
Prevents failure on SVC objects that only contain a spec.externalName field but no selectors.
Test case json:

{
  "apiVersion": "v1",
  "kind": "Service",
  "metadata": {
    "name": "test-svc"
  },
  "spec": {
    "externalName": "test-svc.domain.tld",
    "sessionAffinity": "None",
    "type": "ExternalName"
  }
}

export endpoints only if the SVC has defined .spec.selector fields.
Prevents failure on SVC objects that only contain a spec.externalName field but no selectors.
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 10, 2019
@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 18, 2020
@felixkrohn
Copy link
Author

/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 18, 2020
@felixkrohn
Copy link
Author

/recheck

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants