Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #86

/assign Fedosin

This commit allows to set a flag to NetworkParameter that disables
allowed address pairs creation for all network ports.
@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: An error was encountered cloning bug for cherrypick for bug 1815029 on the Bugzilla server at https://bugzilla.redhat.com:

code 32000: Subcomponet is mandatory for the component 'Cloud Compute' in the product 'OpenShift Container Platform'.
Please contact an administrator to resolve this issue, then request a bug refresh with /bugzilla refresh.

Details

In response to this:

[release-4.4] Bug 1815029: Allow to create network ports without allowed address pairs

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@iamemilio
Copy link

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 22, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamemilio, openshift-cherrypick-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 22, 2020
@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 Oct 14, 2020
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

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

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Nov 13, 2020
@pierreprinetti
Copy link
Member

/bugzilla refresh

@openshift-ci-robot
Copy link

@pierreprinetti: This pull request references Bugzilla bug 1815029, which is invalid:

  • expected the bug to be open, but it isn't
  • expected the bug to target the "4.4.z" release, but it targets "4.5.0" instead
  • expected the bug to be in one of the following states: NEW, ASSIGNED, ON_DEV, POST, POST, but it is CLOSED (ERRATA) instead
  • expected Bugzilla bug 1815029 to depend on a bug targeting a release in 4.5.0, 4.5.z and in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but no dependents were found

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Dec 6, 2020
@Fedosin
Copy link

Fedosin commented Dec 21, 2020

/close

@openshift-ci-robot
Copy link

@Fedosin: Closed this PR.

Details

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

pierreprinetti pushed a commit to shiftstack/cluster-api-provider-openstack that referenced this pull request Apr 22, 2024
…t#95)

* Added Role to kube-system to allow CAP-OS to create secrets

When CAP-OS is deployed to the resulted cluster, it runs in the
namespace openstack-provider-system, and gets the default ServiceAccount
mounted in. Because of openshift#78, CAP-OS needs to create secrets (bootstrap
tokens essentially are secrets) in namespace kube-system.

Created a Role and RoleBinding to allow this.

Using yaml files in config/rbac in favor of kubebuilder auto generation,
because this only works for ClusterRoles so far.
See kubernetes-sigs/kubebuilder#401

How to test:

```
generate-yaml.sh -c ... -p ubuntu

configure machines.yaml and provider-components.yaml

clusterctl create cluster \
--minikube kubernetes-version=v1.12.2 \
--vm-driver hyperkit \
--provider openstack \
-c examples/openstack/ubuntu/out/cluster.yaml \
-m examples/openstack/ubuntu/out/machines.yaml \
-p examples/openstack/ubuntu/out/provider-components.yaml

wait until master and the one node appear.

create a new machine manually by hand. It should be created, come up
and join the cluster.
e.g.

apiVersion: cluster.k8s.io/v1alpha1
kind: Machine
metadata:
  generateName: openstack-node-
  labels:
    set: node
  name: openstack-node-manual
  namespace: default
spec:
  providerConfig:
    value:
      apiVersion: openstackproviderconfig/v1alpha1
      availabilityZone: es1
      flavor: m1.medium
      image: Ubuntu 16.04 Xenial Xerus - Latest
      kind: OpenstackProviderConfig
      networks:
      - uuid: e21aeb04-f98a-4c05-bc84-69441dbb304c
      securityGroups:
      - default
      - secgrp_docs
      sshUserName: ubuntu
  versions:
    kubelet: 1.12.1
```

Fixes openshift#93

* Removed redundant role and rolebinding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants