Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/tp-cp-core-ops/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: 1.3.0-HF2
appVersion: 1.3.0-HF3
description: TIBCO Platform Control Plane -- Bundle
name: tp-cp-core-ops
version: 1.3.8330
version: 1.3.8408
4 changes: 2 additions & 2 deletions charts/tp-cp-core-ops/templates/_generated.tpl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{- define "tp-cp-core-job.generated.buildNumber" }}8330{{end -}}
{{- define "tp-cp-core-ops.generated.buildTimestamp" }}10-24-24_07.47.38_AM{{end -}}
{{- define "tp-cp-core-job.generated.buildNumber" }}8408{{end -}}
{{- define "tp-cp-core-ops.generated.buildTimestamp" }}12-09-24_04.54.46_AM{{end -}}
7 changes: 1 addition & 6 deletions charts/tp-cp-core-ops/templates/create_admin_user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ spec:
image: {{ include "cp-core-configuration.container-registry" .}}{{"/"}}{{ include "cp-core-configuration.image-repository" . }}{{"/"}}{{ .Values.global.tibco.image_name.cpScripts }}:{{ include "tp-cp-core-job.generated.buildNumber" . }}
imagePullPolicy: IfNotPresent
env:
- name: ENVIRONMENT_TYPE
valueFrom:
configMapKeyRef:
name: {{ include "tp-control-plane-ops.consts.cp-env-configmap" . }}
key: CP_PROVIDER
- name: REGION
valueFrom:
configMapKeyRef:
Expand Down Expand Up @@ -82,7 +77,7 @@ spec:
- |
set -o nounset
set -o errexit
if [ "${ENVIRONMENT_TYPE}" == "local" ]; then region="global"; else region=${REGION}; fi
region=${REGION}
echo "Provisioning the Admin Subscription for ${EMAIL_ID}.."
curl -sS -XPOST -H 'x-atmosphere-for-user: ProvisioningUser' -H "Content-type: application/json" -H "Host: ${TSC_DNS_DOMAIN}" -H "x-real-ip: 0.0.0.0" -d '{"externalAccountId": "'"$EXTERNAL_ACCOUNT_ID"'","externalSubscriptionId": "'"$EXTERNAL_SUBSCRIPTION_ID"'","firstName":"'"$FIRSTNAME"'","lastName":"'"$LASTNAME"'","email": "'"$EMAIL_ID"'","organizationName":"TSC Admin Subscription '"$region"'","hostPrefix":"admin","prefixId":"tibc","tenantSubscriptionDetails": [{"eula": true,"region": "'${region}'","expiryInMonths": -1,"planId": "TIB_CLD_ADMIN_TIB_CLOUDOPS","tenantId": "ADMIN","seats": {"ADMIN": {"ENGR": -1,"PM": -1,"SUPT": -1,"OPS": -1,"PROV": -1,"TSUPT": -1}}}],"skipEmail": false}' 'http://'${TP_CP_ORCH_HOST}:8833'/v1/tibco-subscriptions'
echo "Subscription for ${EMAIL_ID} provisioned successfully."
Expand Down
Loading