This file contains 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
# https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-4E68C7F2-C948-489A-A909-C7A1F3DC545F.html | |
apiVersion: run.tanzu.vmware.com/v1alpha1 #TKG API endpoint | |
kind: TanzuKubernetesCluster #required parameter | |
metadata: | |
name: tkc-demo #cluster name, user defined | |
namespace: first-sup-ns #supervisor namespace created earlier | |
spec: | |
distribution: | |
version: v1.20 #resolved kubernetes version | |
topology: |
This file contains 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: v1 | |
kind: DeploymentConfig | |
metadata: | |
annotations: | |
openshift.io/generated-by: OpenShiftWebConsole | |
creationTimestamp: 2017-01-27T14:09:26Z | |
generation: 1 | |
labels: | |
app: sameport | |
name: sameport |
This file contains 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
Listen 8443 https | |
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog | |
SSLSessionCache shmcb:/run/httpd/sslcache(512000) | |
SSLSessionCacheTimeout 300 | |
SSLRandomSeed startup file:/dev/urandom 256 | |
SSLRandomSeed connect builtin | |
SSLCryptoDevice builtin | |
<VirtualHost _default_:8443> | |
ErrorLog logs/ssl_error_log |
This file contains 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
# Webserver container with CGI python script | |
# Using RHEL 7 base image and Apache Web server | |
# Version 1 | |
# Pull the rhel image from the local repository | |
FROM rhel7:latest | |
USER root | |
MAINTAINER Matyas Danter |
This file contains 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
# config file for ansible -- http://ansible.com/ | |
# ============================================== | |
# This config file provides examples for running | |
# the OpenShift playbooks with the provided | |
# inventory scripts. Only global defaults are | |
# left uncommented | |
[defaults] | |
# Add the roles directory to the roles path |
This file contains 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/sh | |
yum -y update | |
yum -y install python python-setuptools python-setuptools-devel gcc python-devel openssl-devel pyOpenSSL git | |
easy_install pip | |
pip install -U M2Crypto paramiko PyYAML Jinja2 httplib2 six pyopenssl boto ansible |
This file contains 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
<plugin> | |
<groupId>org.jboss.ws.plugins</groupId> | |
<artifactId>jaxws-tools-maven-plugin</artifactId> | |
<version>1.2.0.Final</version> | |
<configuration> | |
<wsdls> | |
<wsdl>${basedir}/ServiceEquipmentRefresh1.wsdl</wsdl> | |
</wsdls> | |
<targetPackage>foo.bar</targetPackage> |
This file contains 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
git clone https://github.com/mdanter/docker-images.git | |
cd docker-images/OracleWebLogic/dockerfiles/12.2.1/ | |
docker pull registry.access.redhat.com/rhel | |
docker build -t oracle/weblogic:12.2.1-generic . | |
cd ../../samples/1221-domain-s2i/ | |
docker build -t 1221-appdeploy . | |
oc login | |
oc login 10.1.2.2:8443 | |
oc whoami -t | |
oc get svc |
This file contains 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
mdanter@mdanter-mbpro ~ $ oc login master.ose.example.com [system] | |
The server uses a certificate signed by an unknown authority. | |
You can bypass the certificate check, but any data you send to the server could be intercepted by others. | |
Use insecure connections? (y/n): y | |
Authentication required for https://master.ose.example.com:8443 (openshift) | |
Username: mdanter | |
Password: | |
Login successful. |
This file contains 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
# set your user tokens as environment variables, such as ~/.secrets | |
# See the README for examples. | |
[color] | |
ui = true | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold |
NewerOlder