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
# By default, the AWS EKS API creates the coredns deployment template with an annotation | |
# `eks.amazonaws.com/compute-type` equal to `ec2`. This prevents coredns pods from running on Fargate. | |
# Removing this annotation fixes the issue. | |
# More on: https://github.com/hashicorp/terraform-provider-aws/issues/11327 | |
resource "null_resource" "edit_coredns" { | |
provisioner "local-exec" { | |
environment = { | |
KUBECONFIG = module.eks.kubeconfig_filename | |
CLUSTER_NAME = local.cluster_name | |
} |
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
@RestController | |
@RequestMapping("/properties") | |
public class PropertyController { | |
private final Environment environment; | |
@Autowired | |
public PropertyController( | |
Environment environment) { |
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
prop2=Production-specific value for prop2. | |
prop3=Production-specific value for prop3. |
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
spring.profiles.include=non-prod | |
prop3=Staging-specific value for prop3. |
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
spring.profiles.include=non-prod | |
prop3=Development-specific value for prop3. |
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
prop2=Non-production-specific value for prop2. |
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
prop1=This is a shared value across all profiles for prop1. |
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
[email protected]@ |
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
<profiles> | |
<profile> | |
<id>default</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<properties> | |
<spring.profile.from.maven/> | |
</properties> | |
<dependencies> |
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
version: 2 | |
general: | |
branches: | |
only: | |
- dev | |
- staging | |
- prod | |
jobs: | |
build: | |
docker: |
NewerOlder