charts/tools/deployment/common/env-variables.sh
intlabs b94014be52 Rework AIO
1) Removes unused/duplicate deployment/gate scripts
2) Removes unrequired NFS deployment
3) Adds Ingress controller
4) Adds Cert-Manager
5) Removes unrequired harbor chart, and replaces with upstream
6) Adds ingress rules to tekton
7) Fix linting issues with newer k8s versions and dex-aio chart
8) Add Gerrit Chart
9) Fixes hardcoded namespace references in tekton-triggers chart.
10) Sets up CA certs on host to anble validation of tls backed services.
11) TLS in tekton dashboard via cert-manager
12) TLS in loki and grafana via cert-manager
13) TLS in harbor & notary ingres via cert-manager
14) TLS for all internal harbor components via self signed certs
15) TLS for gerrit via cert-manager
16) Rework DNS config to fix resolving k8s services from host
17) Update kube deployment script to configure /etc/resolv.conf to direct jarvis.local to ingress
18) Add docker push test for harbor
19) Reset documentation

Change-Id: I71850770ba46d7635b950da60ec59c0b08208c70
Signed-off-by: intlabs <pete@port.direct>
2021-01-11 06:51:03 +00:00

18 lines
764 B
Bash
Executable File

#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
set -e
export API_ADDR=$(kubectl get endpoints kubernetes -o 'jsonpath={.subsets[0].addresses[0].ip}')
export API_PORT=$(kubectl get endpoints kubernetes -o 'jsonpath={.subsets[0].ports[0].port}')