<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Configuration on JayeX - Cloud Native CI/CD Built On Kubernetes</title>
		<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/</link>
		<description>Recent content in Configuration on JayeX - Cloud Native CI/CD Built On Kubernetes</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<atom:link href="https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>General</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/general/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/general/</guid>
				<description>&lt;h2 id=&#34;what-is-the-directory-layout&#34;&gt;What is the directory layout?&lt;/h2&gt;&#xA;&lt;p&gt;To understand the directory layout see &lt;a href=&#34;https://github.com/jenkins-x/jx-gitops/blob/master/docs/git_layout.md&#34;&gt;this document&lt;/a&gt; and the &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/reference/files/&#34;&gt;file reference&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-do-i-add-an-environment&#34;&gt;How do I add an Environment&lt;/h2&gt;&#xA;&lt;p&gt;With v3 everything is done via GitOps - so if in doubt the answer is to modify git.&lt;/p&gt;&#xA;&lt;p&gt;You can create new environments by adding to the &lt;code&gt;environments:&lt;/code&gt; section of &lt;a href=&#34;https://github.com/jx3-gitops-repositories/jx3-kubernetes/blob/master/jx-requirements.yml#L18&#34;&gt;jx-requirements.yml&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-do-i-change-promotion-for-my-app&#34;&gt;How do I change promotion for my app?&lt;/h2&gt;&#xA;&lt;p&gt;Usually when you &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/create-project/&#34;&gt;import a repository or create a quickstart&lt;/a&gt; they inherit the default environments for &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/environments/promotion/&#34;&gt;promotion&lt;/a&gt;. It is common to share the same environments across all of your microservices.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Charts and resources</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/charts/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/charts/</guid>
				<description>&lt;h2 id=&#34;how-do-i-add-a-chart&#34;&gt;How do I add a chart?&lt;/h2&gt;&#xA;&lt;p&gt;To add a new chart add to the &lt;code&gt;helmfiles/mynamespace/helmfile.yaml&lt;/code&gt; file follow the &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/apps/#adding-charts&#34;&gt;add chart guide&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-do-i-customise-an-app-in-an-environment&#34;&gt;How do I customise an App in an Environment?&lt;/h2&gt;&#xA;&lt;p&gt;We use &lt;a href=&#34;https://github.com/roboll/helmfile&#34;&gt;helmfile&lt;/a&gt; to configure helm charts whether its in the &lt;code&gt;dev&lt;/code&gt;, &lt;code&gt;staging&lt;/code&gt; or &lt;code&gt;production&lt;/code&gt; environment and whether you are using &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/guides/multi-cluster/&#34;&gt;multiple clusters&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;See &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/apps/#customising-charts&#34;&gt;how to customise a chart&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;For a given namespace called &lt;code&gt;ns&lt;/code&gt; there is a folder in the cluster git repository at:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Registries</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/registries/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/registries/</guid>
				<description>&lt;h2 id=&#34;how-do-i-use-a-custom-container-registry&#34;&gt;How do I use a custom container registry?&lt;/h2&gt;&#xA;&lt;p&gt;What container registry is used by default depends on the which cloud provider you use. There are some things to consider when &lt;a href=&#34;https://github.com/jenkins-x/terraform-google-jx#migration-from-container-to-artifact-registry&#34;&gt;migrating from container registry to artifact registry in Google GCP&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;To allow a pipeline to be able to push to a container registry you can add this secret&amp;hellip;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl create secret generic container-registry-auth  &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --from-literal&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;url&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;myserver.com &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --from-literal&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;username&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;myuser &lt;span style=&#34;color:#ae81ff&#34;&gt;\&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --from-literal&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;password&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;mypwd&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will then take effect the next time a commit merges on your cluster git repository e.g. next time you &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/guides/upgrade/#cluster&#34;&gt;upgrade your cluster&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Repositories</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/repos/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/repos/</guid>
				<description>&lt;h2 id=&#34;how-do-i-customise-a-scheduler&#34;&gt;How do I customise a Scheduler?&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://github.com/jenkins-x/jx-gitops/blob/master/docs/config.md#gitops.jenkins-x.io/v1alpha1.SourceConfig&#34;&gt;.jx/gitops/source-config.yaml&lt;/a&gt; file in your dev cluster git repository lets you configure the name of the &lt;code&gt;scheduler&lt;/code&gt; to use for all repositories, for a group of repositories or for an individual repository.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;code&gt;schedular&lt;/code&gt; name is then resolved to be either a file &lt;code&gt;versionStream/schedulers/$name.yaml&lt;/code&gt;  or &lt;code&gt;schedulers/$name.yaml&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;So if you want to create your own &lt;code&gt;Scheduler&lt;/code&gt; you could copy the default in-repo based scheduler &lt;code&gt;versionStream/schedulers/in-repo.yaml&lt;/code&gt; to &lt;code&gt;schedulers/myname.yaml&lt;/code&gt; and then modify it to suit - then associate &lt;code&gt;myname&lt;/code&gt; with whatever repositories you wish to use this scheduler for.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Secrets</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/secrets/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/secrets/</guid>
				<description>&lt;h2 id=&#34;how-do-i-add-a-new-secret&#34;&gt;How do I add a new Secret?&lt;/h2&gt;&#xA;&lt;p&gt;See &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/secrets/#create-a-new-secret&#34;&gt;how to add a new Secret&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-do-i-edit-a-secret&#34;&gt;How do I edit a secret?&lt;/h2&gt;&#xA;&lt;p&gt;Secrets are &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/secrets/&#34;&gt;stored in external secret storage&lt;/a&gt; like Vault or your cloud providers secret store.&lt;/p&gt;&#xA;&lt;p&gt;So you can edit them in the underlying secret store directly (e.g. with your cloud providers CLI or the vault CLI).&lt;/p&gt;&#xA;&lt;p&gt;Or you can use &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/secrets/#edit-secrets&#34;&gt;jx secret edit&lt;/a&gt; command to do this for you.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/admin/setup/secrets/#interactive-mode&#34;&gt;interactive mode&lt;/a&gt; is a nice way to find the secret and property you want to edit, then edit&amp;hellip;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Vault</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/vault/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/vault/</guid>
				<description>&lt;h2 id=&#34;after-an-upgrade-the-boot-job-is-waiting-for-vault-in-jx-vault&#34;&gt;After an upgrade the boot job is waiting for vault in jx-vault&lt;/h2&gt;&#xA;&lt;p&gt;In the alpha we used to install vault via the &lt;code&gt;helmfile/secret-infra/helmfile.yaml&lt;/code&gt; file and install vault into the &lt;code&gt;secret-infra&lt;/code&gt; namespace.&lt;/p&gt;&#xA;&lt;p&gt;A production installation of vault requires cloud resources such as a key ring, crypto key and bucket.&lt;/p&gt;&#xA;&lt;p&gt;So to make it easier to manage vault properly with cloud resources and to simplify the operation of JayeX (so that the secret store can be used on an empty cluster before we boot anything in the boot process) we have moved the installation of vault into terraform. (e.g for &lt;a href=&#34;https://github.com/jenkins-x/terraform-google-jx/blob/master/modules/jx-boot/vault.tf&#34;&gt;GKE&lt;/a&gt;)&lt;/p&gt;</description>
			</item>
			<item>
				<title>Ingress</title>
				<link>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/ingress/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/develop/faq/config/ingress/</guid>
				<description>&lt;h2 id=&#34;how-do-i-configure-the-ingress-domain-in-dev-staging-or-production&#34;&gt;How do I configure the ingress domain in Dev, Staging or Production?&lt;/h2&gt;&#xA;&lt;p&gt;With the new helm 3 based boot every environment uses boot - so there is a single way to configure anything whether its in the &lt;code&gt;dev&lt;/code&gt;, &lt;code&gt;staging&lt;/code&gt; or &lt;code&gt;production&lt;/code&gt; environment and whether or not you are using &lt;a href=&#34;https://jx-docs-jx-jayex-io-jx-docs-pr-19.infra.jenkins-x.rocks/v3/guides/multi-cluster/&#34;&gt;multiple clusters&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;You can override the domain name for use in all apps within an environment by modifying the &lt;code&gt;jx-requirements.yml&lt;/code&gt; in the git repository for the &lt;code&gt;dev&lt;/code&gt;, &lt;code&gt;staging&lt;/code&gt; or &lt;code&gt;production&lt;/code&gt; environment.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
