airshipctl/tools/airship-in-a-pod/examples/airshipctl/replacements.yaml

92 lines
3.1 KiB
YAML

# 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.
# This is the location from which to clone the airshipctl binary repo
- op: replace
path: "/spec/containers/4/env/3/value"
value: https://opendev.org/airship/airshipctl
# This is the branch to checkout for the airshipctl binary repo
- op: replace
path: "/spec/containers/4/env/4/value"
value: master
# This is the location from which to clone the manifest documents repo
- op: replace
path: "/spec/containers/6/env/3/value"
value: https://opendev.org/airship/airshipctl
# This is the branch or sha to checkout for the manifest documents repo
- op: replace
path: "/spec/containers/6/env/4/value"
value: master
# This is the ref to checkout for the manifest documents repo
# Note that this will take precedence over the branch if specified above
- op: replace
path: "/spec/containers/6/env/5/value"
value:
# The following relate to authorization for pulling the manifest repository
# This is the type of authorization to use. Currently supported types are
# [none http-basic ssh-pass]
- op: replace
path: "/spec/containers/6/env/10/value"
value: none
# The following relate to secret regeneration
# Set this to "true" in production environment to prevent secret generation
# and secret show
- op: replace
path: "/spec/containers/6/env/11/value"
value: "false"
# The following relate to authorization for pulling the airshipctl repository
# This is the type of authorization to use. Currently supported types are
# [none http-basic ssh-key]
- op: replace
path: "/spec/containers/4/env/5/value"
value: none
# This is the location on the host machine of the artifacts directory. Note
# that it should be the same across containers
- op: replace
path: "/spec/containers/4/env/2/value"
value: /opt/aiap-files/artifacts
- op: replace
path: "/spec/containers/5/env/1/value"
value: /opt/aiap-files/artifacts
- op: replace
path: "/spec/containers/6/env/1/value"
value: /opt/aiap-files/artifacts
# This is the location on the host machine of the cache directory. Note that it
# should be the same across containers
- op: replace
path: "/spec/containers/4/env/0/value"
value: /opt/aiap-files/cache
- op: replace
path: "/spec/containers/5/env/0/value"
value: /opt/aiap-files/cache
- op: replace
path: "/spec/containers/6/env/0/value"
value: /opt/aiap-files/cache
# Set true to use a cached airshipctl binary
- op: replace
path: "/spec/containers/4/env/1/value"
# value: $(USE_CACHED_AIRSHIPCTL)
value: "false"
# Set true to use a cached ephemeral iso
- op: replace
path: "/spec/containers/6/env/2/value"
value: "false"