This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
creationTimestamp: null | |
name: ingresscontrollers.operator.openshift.io | |
spec: | |
group: operator.openshift.io | |
names: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% oc -n openshift-ingress-operator logs deploy/ingress-operator -f --tail=0 | |
2019-06-19T15:32:04.820Z INFO operator.controller controller/controller.go:78 queueing ingress {"name": "default", "related": "/apis/apps/v1/namespaces/openshift-ingress/deployments/router-default"} | |
2019-06-19T15:32:04.821Z INFO operator.controller controller/controller.go:78 queueing ingress {"name": "default", "related": "/apis/apps/v1/namespaces/openshift-ingress/deployments/router-default"} | |
2019-06-19T15:32:04.821Z INFO operator.controller controller/controller.go:119 reconciling {"request": "openshift-ingress-operator/default"} | |
2019-06-19T15:32:04.837Z INFO operator.controller controller/controller.go:78 queueing ingress {"name": "default", "related": "/apis/apps/v1/namespaces/openshift-ingress/deployments/router-default"} | |
2019-06-19T15:32:04.838Z INFO operator.controller controller/controller.go:78 queueing ingress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/manifests/00-custom-resource-definition.yaml b/manifests/00-custom-resource-definition.yaml | |
index f049c627..56c5e0fa 100644 | |
--- a/manifests/00-custom-resource-definition.yaml | |
+++ b/manifests/00-custom-resource-definition.yaml | |
@@ -435,9 +435,30 @@ spec: | |
controller endpoints to other networks, enable load balancer integrations, | |
etc. \n If unset, the default is based on infrastructure.config.openshift.io/cluster | |
.status.platform: \n AWS: LoadBalancerService Azure: LoadBalancerService | |
- \ Libvirt: HostNetwork \n Any other platform types (including None) | |
- default to HostNetwork. \n endpointPublishingStrategy cannot be updated." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
[OSEv3:vars] | |
ansible_ssh_user=centos | |
ansible_become=yes | |
openshift_enable_service_catalog=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
name="$(find ~/tmp -name mmasters\* | | |
awk '{ match($0,"([0-9]+)$",arr); if (arr[1] > n) { n = arr[1] } } | |
END { print "mmasters" strtonum(n+1) }')" | |
mkdir ~/tmp/"$name" | |
cd ~/tmp/"$name" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Print the version of the atomic-openshift-master package from Yum | |
hosts: all | |
tasks: | |
- name: Get package information | |
yum: | |
list: atomic-openshift-master | |
register: pkg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for fn | |
do | |
declare -A seen | |
while [[ -h "$fn" ]] | |
do | |
if [[ -n "${seen[$fn]}" ]] | |
then | |
printf 'Cycle detected; terminating.\n' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package collaboration | |
const ( | |
// CollaboratorAnnotation is the key for an annotation on Namespace that | |
// specifies collaborators on the namespace. | |
CollaboratorAnnotation = "authorization.openshift.io/collaborators" | |
) | |
// CollaboratorType is a type of collaborator on a project. | |
type CollaboratorType string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
uid= | |
rhuser "$*" rhatPhoneExt telephoneNumber homePhone | | |
while IFS=' ' read -r key value | |
do | |
if [[ "$key" = 'dn:' ]] | |
then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
declare -a uids_ary=( ${1//,/ } ) | |
printf -v uids_list '(uid=%s)' "${uids_ary[@]}" | |
shift | |
declare -a criteria=( "(|$uids_list)" ) | |
while [[ "${1-}" = *=* ]] | |
do |