Comments (7)
Hey folks. Any idea whether this is supported or how I can use it?
from spinnaker-for-gcp.
Thanks for opening this, @gnarea - apologies for the delayed response!
because spinnaker-for-gcp doesn't seem to support specifying Spring Cloud Config values
Could you provide a bit more detail about what you tried to do? You should have full access to the configuration of the instances Spinnaker for GCP sets up for you, and should also be able to use any Spinnaker OSS version. So it would be helpful to know what you tried and what didn't work, or where it wasn't clear how to do what the docs were asking you to do.
Thanks!
from spinnaker-for-gcp.
Hey @demobox. Thanks for getting back to me!
I didn't get far at all as I was lost from the very beginning. It all boils down to a very simple question: Where do I set spring.cloud.config.server.git
when I use Spinnaker for GCP?
The docs say the following early on:
To enable external configuration via the Config Server, add Spring Cloud Config configuration properties, which are under spring.cloud.config.server, and include settings for the backend you wish to use. If you deploy Spinnaker manually, you might place this configuration in a YAML file called spinnakerconfig.yml, alongside your spinnaker.yml file.
I have no idea what they mean by deploying Spinnaker "manually" (I only know of one way to deploy Spinnaker and that's hal deploy apply
) or whether Spinnaker for GCP would be classed as "deploying Spinnaker manually" (I wouldn't think so); either way, neither of the two files above exist according to find $HOME -name spinnakerconfig.yml -or -name spinnaker.yml
.
I tried adding the following to my .hal/config
:
spring:
profiles:
include: git
cloud:
config:
server:
git:
uri: https://github.com/example/spinnaker-config
refresh-rate: 10
But push_and_apply.sh
failed with the following error:
ERROR Could not translate your halconfig: Unrecognized field
"spring" (class com.netflix.spinnaker.halyard.config.model.v1.node.Halconfig),
not marked as ignorable (3 known properties: "deploymentConfigurations",
"halyardVersion", "currentDeployment"])
at [Source: UNKNOWN; line: -1, column: -1] (through reference chain:
com.netflix.spinnaker.halyard.config.model.v1.node.Halconfig["spring"])
from spinnaker-for-gcp.
I think the document ask you to push spinnakerconfig.yml and spinnaker.yml side by side in the same directory, not put the content in spinnaker.yml
from spinnaker-for-gcp.
from spinnaker-for-gcp.
from spinnaker-for-gcp.
Oh, that was added last week: spinnaker/spinnaker.github.io@b93e33a#diff-5fd2f4edaf75d04a9eea3d6ef989a46e
So in that case I have the info I need.
Thanks!
from spinnaker-for-gcp.
Related Issues (20)
- No valid versions with the prefix "1.18.17" found. HOT 1
- Spinnaker 1.26.6 still uses legacy UI? Don't see gcs artifact account when creating stage. HOT 1
- Spinnaker is messed up after resize cluster to 0 nodes HOT 2
- Doesn't work, GKE version outdated? HOT 1
- request: mention "Control plane authorised networks" in documentation
- Issue in Connect to Spinnaker - on Step 2
- Application information missing in Spinnaker after re-adding GKE accounts HOT 2
- Random identifier generation can hang
- `--enable-stackdriver-kubernetes` being deprecated when creating GKE cluster.
- When fiat is enabled service and deployment labels are not applied
- `setup.sh` enables Cloud APIs that are not required by all deployments HOT 1
- Automatically select kube context.
- `scripts/manage/connect_to_redis.sh` is flakey
- ! ERROR Failed to backup user file
- Unable to use the repository to deploy Spinnaker on GCP HOT 1
- Is the spinnaker-for-gcp repository still active?
- Is the spinnaker-for-gcp repository still active?
- Unable to configure Email configuration
- Modify function setup to automatically select available nodejs runtimes
- getting error while adding the gke account by running the script HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spinnaker-for-gcp.