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/bash | |
# manually recreate the Issuers and Certificates for cert-manager | |
NS=${NS:-open-cluster-management} | |
CLUSTER_NAME=${CLUSTER:-mycluster} | |
BASE_DOMAIN=${BASE_DOMAIN:-mydomain.com} | |
APPLICATION_UI_DEPLOYMENT=$(oc get deployment -n $NS | grep applicationui | awk '{print $1}') | |
CONSOLE_CHART=$(oc get helmrelease -A | grep console | awk '{print $2}') |
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
# Service to expose frontend | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: watson-conversation-app | |
labels: | |
app: watson-conversation-app | |
tier: frontend | |
spec: | |
type: NodePort |
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
# Application to deploy | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: watson-conversation-app | |
spec: | |
replicas: 2 # tells deployment to run 2 pods matching the template | |
template: # create pods using pod definition in this template | |
metadata: | |
labels: |