Skip to content

Conversation

@iamemilio
Copy link

No description provided.

Fedosin and others added 3 commits May 7, 2020 11:28
Co-authored-by: Emilio Garcia <[email protected]>
Co-authored-by: Mike Fedosin <[email protected]>
@openshift-ci-robot openshift-ci-robot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels May 7, 2020
@openshift-ci-robot
Copy link

@iamemilio: PR needs rebase.

Details

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
Copy link

@iamemilio: This pull request references Bugzilla bug 1811400, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.5.0) matches configured target release for branch (4.5.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
Details

In response to this:

[release-4.4]Bug 1811400: Migrate to MAO

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 the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label May 7, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamemilio

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 7, 2020
@iamemilio iamemilio closed this May 7, 2020
@openshift-ci-robot
Copy link

@iamemilio: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/unit 582a806 link /test unit

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

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. I understand the commands that are listed here.

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/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants